time="2024-08-28T09:09:35Z" 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-experiment-1 Creating Container integration-test-authorization-1 Creating Container integration-test-device-1 Creating Container integration-test-authentication-1 Creating Container integration-test-federation-1 Creating Container integration-test-gateway-1 Created Container integration-test-federation-1 Created Container integration-test-device-1 Created Container integration-test-experiment-1 Created Container integration-test-authentication-1 Created Container integration-test-authorization-1 Created Attaching to authentication-1, authorization-1, device-1, experiment-1, federation-1, 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"} federation-1 | {"level":"info","message":"Federation Service started successfully"} authorization-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} authentication-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} authorization-1 | {"addrs":["localhost:3011"],"diagnostic-addrs":[],"level":"info","msg":"Initializing server.","subsystem":"opa","time":"2024-08-28T09:10:25Z"} experiment-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} device-1 | {"level":"info","log_level":"info","message":"Logging initialized","transports":"stdout"} authentication-1 | {"level":"info","message":"Authentication Service started successfully"} authorization-1 | {"client_addr":"127.0.0.1:45316","level":"info","msg":"Received request.","req_id":1,"req_method":"GET","req_path":"/","subsystem":"opa","time":"2024-08-28T09:10:25Z"} authorization-1 | {"client_addr":"127.0.0.1:45316","level":"info","msg":"Sent response.","req_id":1,"req_method":"GET","req_path":"/","resp_bytes":1424,"resp_duration":0.317914,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:25Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"๐Ÿงช experimental features enabled: []","subsystem":"openfga","timestamp":1724836225.7454262} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"using 'memory' storage engine","subsystem":"openfga","timestamp":1724836225.7455173} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"warn","message":"authentication is disabled","subsystem":"openfga","timestamp":1724836225.745542} 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":1724836225.7455618} 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":1724836225.7455804} 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":1724836225.7456274,"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":1724836225.7461634} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","level":"info","message":"HTTP server listening on 'localhost:3013'...","subsystem":"openfga","timestamp":1724836225.7470903} 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:38946","raw_request":{"name":"crosslab"},"raw_response":{"created_at":"2024-08-28T09:10:25.761589011Z","id":"01J6C408Q16623PTQ4X3WG6QT5","name":"crosslab","updated_at":"2024-08-28T09:10:25.761589011Z"},"request_id":"bb157da6-e285-49eb-8cd4-efad9b8e652b","subsystem":"openfga","timestamp":1724836225.761726} 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:38946","raw_request":{"schema_version":"1.1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_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":"01J6C408SBP9MB0SN6V5RK5N5D"},"request_id":"de78b833-680d-4552-8eaa-f5c90c42dd13","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836225.8352838} authorization-1 | {"client_addr":"127.0.0.1:45316","level":"info","msg":"Received request.","req_id":2,"req_method":"PUT","req_path":"/v1/data/jwt_secret","subsystem":"opa","time":"2024-08-28T09:10:25Z"} authorization-1 | {"client_addr":"127.0.0.1:45316","level":"info","msg":"Sent response.","req_id":2,"req_method":"PUT","req_path":"/v1/data/jwt_secret","resp_bytes":0,"resp_duration":0.162761,"resp_status":204,"subsystem":"opa","time":"2024-08-28T09:10:25Z"} authorization-1 | {"level":"info","message":"Authorization Service started successfully"} experiment-1 | {"level":"info","message":"Experiment 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-28T09:10:26Z"} device-1 | {"level":"info","message":"Device Service started successfully"} gateway-1 | {"time_local":"28/Aug/2024:09:10:32 +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.017","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"d3cec949132a03d26e3f19382e4458f0"} authentication-1 | {"level":"info","message":"HEAD /auth/status 200 11ms","method":"HEAD","requestID":"d3cec949132a03d26e3f19382e4458f0","responseTime":11,"status":200,"url":"/auth/status"} gateway-1 | {"time_local":"28/Aug/2024:09:10:32 +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.015","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"a7aeda4ba2597b7ab8f504d8192344c6"} device-1 | {"level":"info","message":"HEAD /device/status 200 11ms","method":"HEAD","requestID":"60b2eb10-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/device/status"} gateway-1 | {"time_local":"28/Aug/2024:09:10:32 +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.009","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"9e3440220d51219234b05c9e36fde1bf"} authorization-1 | {"level":"info","message":"HEAD /authorization/status 200 5ms","method":"HEAD","requestID":"9e3440220d51219234b05c9e36fde1bf","responseTime":5,"status":200,"url":"/authorization/status"} gateway-1 | {"time_local":"28/Aug/2024:09:10:32 +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.013","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"275f5debafcd2b4c161fcc871c516916"} federation-1 | {"level":"info","message":"HEAD /federation/status 200 9ms","method":"HEAD","requestID":"60bc39e0-651d-11ef-b8c1-d17619c7806a","responseTime":9,"status":200,"url":"/federation/status"} gateway-1 | {"time_local":"28/Aug/2024:09:10:32 +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.013","http_referrer":"","http_user_agent":"curl/7.81.0","requestID":"c58ab5060b784059abaf5b6f5c6c07b7"} experiment-1 | {"level":"info","message":"HEAD /experiment/status 200 8ms","method":"HEAD","requestID":"60bf4720-651d-11ef-8099-afd7cb93f011","responseTime":8,"status":200,"url":"/experiment/status"} gateway-1 | {"time_local":"28/Aug/2024:09:10:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /login HTTP/1.1","status": "201","body_bytes_sent":"88","request_time":"0.171","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"dad0f13d4eb55e1298c2b74a89209281"} authentication-1 | {"level":"info","message":"POST /login 201 160ms","method":"POST","requestID":"dad0f13d4eb55e1298c2b74a89209281","responseTime":160,"status":201,"url":"/login"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjIzOX0.Ez83nor0gfzbruOppZhVvjSmNgII9UP-vHj36kXKhf4","level":"info","message":"auth send jwt","requestID":"17d57535f203e08cfbb3b3dee43e4b93"} authentication-1 | {"level":"info","message":"GET /auth 200 41ms","method":"GET","requestID":"17d57535f203e08cfbb3b3dee43e4b93","responseTime":41,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"17d57535f203e08cfbb3b3dee43e4b93"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":3,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:39Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":3,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.533877,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:39Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"17d57535f203e08cfbb3b3dee43e4b93","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836239,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjIzOX0.Ez83nor0gfzbruOppZhVvjSmNgII9UP-vHj36kXKhf4"} authorization-1 | {"level":"info","message":"POST /authorize 200 19ms","method":"POST","requestID":"17d57535f203e08cfbb3b3dee43e4b93","responseTime":19,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22b34d9a-7672-4405-8046-461c486c4a4b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"05741e62-d8d3-4586-b11b-aecf7a4d5b54","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836239.958191} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"17d57535f203e08cfbb3b3dee43e4b93","responseTime":8,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ba784fb8-f0a9-4241-a94a-e8da9beb97f3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836239.9727964} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"17d57535f203e08cfbb3b3dee43e4b93","responseTime":10,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22b34d9a-7672-4405-8046-461c486c4a4b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"968a19e2-f499-41e4-9e9b-c0c3d31fb787","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836240.016446} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"76a137e5-57e1-4890-87cd-e179d4ef3376","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836240.017118} authorization-1 | {"level":"info","message":"POST /relations/update 200 48ms","method":"POST","requestID":"17d57535f203e08cfbb3b3dee43e4b93","responseTime":48,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22b34d9a-7672-4405-8046-461c486c4a4b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22b34d9a-7672-4405-8046-461c486c4a4b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:40.016422474Z"}]},"request_id":"7260a564-0a74-4484-8a66-67f38ff2c518","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836240.0262096} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"17d57535f203e08cfbb3b3dee43e4b93","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"17d57535f203e08cfbb3b3dee43e4b93"} gateway-1 | {"time_local":"28/Aug/2024:09:10:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.407","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"17d57535f203e08cfbb3b3dee43e4b93"} device-1 | {"level":"info","message":"POST /devices? 201 347ms","method":"POST","requestID":"17d57535f203e08cfbb3b3dee43e4b93","responseTime":347,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0MH0.vSC0eQhrmcVr4w251SBdCcOKl9hfGJOSfBBkFNf1MqA","level":"info","message":"auth send jwt","requestID":"f64241080723cddf3aaca2b8b378a98e"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"f64241080723cddf3aaca2b8b378a98e","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"f64241080723cddf3aaca2b8b378a98e"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":4,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:40Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":4,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.92377,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:40Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"f64241080723cddf3aaca2b8b378a98e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836240,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0MH0.vSC0eQhrmcVr4w251SBdCcOKl9hfGJOSfBBkFNf1MqA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f64241080723cddf3aaca2b8b378a98e","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9462e072-4d3e-4a83-9e37-c2488c58b5ac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ce5c2b10-ffb3-45e5-a733-e15970fb0dd7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836240.1389499} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"f64241080723cddf3aaca2b8b378a98e","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7267fbad-ebb1-4fda-bb8c-1de447549146","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836240.1487951} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"f64241080723cddf3aaca2b8b378a98e","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9462e072-4d3e-4a83-9e37-c2488c58b5ac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"2ce09242-3b71-44e5-afd5-5505b1fd0bbd","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836240.185682} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"210d6d00-a552-4765-8fd3-335eac5d4582","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836240.1859689} authorization-1 | {"level":"info","message":"POST /relations/update 200 40ms","method":"POST","requestID":"f64241080723cddf3aaca2b8b378a98e","responseTime":40,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9462e072-4d3e-4a83-9e37-c2488c58b5ac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9462e072-4d3e-4a83-9e37-c2488c58b5ac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:40.185671554Z"}]},"request_id":"d68e75a9-e2fd-43d9-8027-86b92ab1b9c8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836240.1974866} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"f64241080723cddf3aaca2b8b378a98e","responseTime":8,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"f64241080723cddf3aaca2b8b378a98e"} device-1 | {"level":"info","message":"POST /devices? 201 113ms","method":"POST","requestID":"f64241080723cddf3aaca2b8b378a98e","responseTime":113,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"28/Aug/2024:09:10:40 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.121","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f64241080723cddf3aaca2b8b378a98e"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fe75a91d34f337eafcf7f23f71c128ce","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"fe75a91d34f337eafcf7f23f71c128ce","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:10:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac/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":"fe75a91d34f337eafcf7f23f71c128ce"} device-1 | {"level":"info","message":"OPTIONS /devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac/websocket 200 3ms","method":"OPTIONS","requestID":"fe75a91d34f337eafcf7f23f71c128ce","responseTime":3,"status":200,"url":"/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0M30.03QfaqPYON7RRAPf_Bzhws4anuUz8nVn6-NgucuP5RQ","level":"info","message":"auth send jwt","requestID":"83ca4cef27125431054333c5dfb64682"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"83ca4cef27125431054333c5dfb64682","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"83ca4cef27125431054333c5dfb64682"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":5,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":5,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.351362,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"83ca4cef27125431054333c5dfb64682","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836243,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0M30.03QfaqPYON7RRAPf_Bzhws4anuUz8nVn6-NgucuP5RQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"83ca4cef27125431054333c5dfb64682","responseTime":7,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"baef60e7580495d9bb827d8cea6d409e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"baef60e7580495d9bb827d8cea6d409e","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:10:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/22b34d9a-7672-4405-8046-461c486c4a4b/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":"baef60e7580495d9bb827d8cea6d409e"} device-1 | {"level":"info","message":"OPTIONS /devices/22b34d9a-7672-4405-8046-461c486c4a4b/websocket 200 1ms","method":"OPTIONS","requestID":"baef60e7580495d9bb827d8cea6d409e","responseTime":1,"status":200,"url":"/devices/22b34d9a-7672-4405-8046-461c486c4a4b/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0M30.03QfaqPYON7RRAPf_Bzhws4anuUz8nVn6-NgucuP5RQ","level":"info","message":"auth send jwt","requestID":"ac60089bc0d68ad2b6b0aff2f40b4551"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ac60089bc0d68ad2b6b0aff2f40b4551","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"ac60089bc0d68ad2b6b0aff2f40b4551"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":6,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":6,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.727334,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ac60089bc0d68ad2b6b0aff2f40b4551","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836243,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0M30.03QfaqPYON7RRAPf_Bzhws4anuUz8nVn6-NgucuP5RQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ac60089bc0d68ad2b6b0aff2f40b4551","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"83ca4cef27125431054333c5dfb64682"} gateway-1 | {"time_local":"28/Aug/2024:09:10:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.084","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"83ca4cef27125431054333c5dfb64682"} device-1 | {"level":"info","message":"POST /devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac/websocket 200 76ms","method":"POST","requestID":"83ca4cef27125431054333c5dfb64682","responseTime":76,"status":200,"url":"/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"ac60089bc0d68ad2b6b0aff2f40b4551"} gateway-1 | {"time_local":"28/Aug/2024:09:10:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/22b34d9a-7672-4405-8046-461c486c4a4b/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.068","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"ac60089bc0d68ad2b6b0aff2f40b4551"} device-1 | {"level":"info","message":"POST /devices/22b34d9a-7672-4405-8046-461c486c4a4b/websocket 200 59ms","method":"POST","requestID":"ac60089bc0d68ad2b6b0aff2f40b4551","responseTime":59,"status":200,"url":"/devices/22b34d9a-7672-4405-8046-461c486c4a4b/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0M30.03QfaqPYON7RRAPf_Bzhws4anuUz8nVn6-NgucuP5RQ","level":"info","message":"auth send jwt","requestID":"6fb0605eb0be216126f88dac24d62a5b"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"6fb0605eb0be216126f88dac24d62a5b","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6fb0605eb0be216126f88dac24d62a5b"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":7,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":7,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.114372,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6fb0605eb0be216126f88dac24d62a5b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836243,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0M30.03QfaqPYON7RRAPf_Bzhws4anuUz8nVn6-NgucuP5RQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"6fb0605eb0be216126f88dac24d62a5b","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22b34d9a-7672-4405-8046-461c486c4a4b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22b34d9a-7672-4405-8046-461c486c4a4b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:40.016422474Z"}]},"request_id":"e7fda2c8-3592-43d0-bc69-91aba5c38223","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836243.5238717} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6fb0605eb0be216126f88dac24d62a5b","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6fb0605eb0be216126f88dac24d62a5b"} gateway-1 | {"time_local":"28/Aug/2024:09:10:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/22b34d9a-7672-4405-8046-461c486c4a4b? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.044","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6fb0605eb0be216126f88dac24d62a5b"} device-1 | {"level":"info","message":"GET /devices/22b34d9a-7672-4405-8046-461c486c4a4b? 200 35ms","method":"GET","requestID":"6fb0605eb0be216126f88dac24d62a5b","responseTime":35,"status":200,"url":"/devices/22b34d9a-7672-4405-8046-461c486c4a4b?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0M30.03QfaqPYON7RRAPf_Bzhws4anuUz8nVn6-NgucuP5RQ","level":"info","message":"auth send jwt","requestID":"736b2b2ced457d520abe3e3aac1f9afc"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"736b2b2ced457d520abe3e3aac1f9afc","responseTime":9,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"736b2b2ced457d520abe3e3aac1f9afc"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":8,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":8,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.054679,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"736b2b2ced457d520abe3e3aac1f9afc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836243,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0M30.03QfaqPYON7RRAPf_Bzhws4anuUz8nVn6-NgucuP5RQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"736b2b2ced457d520abe3e3aac1f9afc","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9462e072-4d3e-4a83-9e37-c2488c58b5ac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9462e072-4d3e-4a83-9e37-c2488c58b5ac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:40.185671554Z"}]},"request_id":"4de5331d-b5c7-4804-98d4-e3a17e44a869","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836243.5695076} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"736b2b2ced457d520abe3e3aac1f9afc","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"736b2b2ced457d520abe3e3aac1f9afc"} gateway-1 | {"time_local":"28/Aug/2024:09:10:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.032","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"736b2b2ced457d520abe3e3aac1f9afc"} device-1 | {"level":"info","message":"GET /devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac? 200 21ms","method":"GET","requestID":"736b2b2ced457d520abe3e3aac1f9afc","responseTime":21,"status":200,"url":"/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0M30.03QfaqPYON7RRAPf_Bzhws4anuUz8nVn6-NgucuP5RQ","level":"info","message":"auth send jwt","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"78cf8e7ae0fdf630fede084de38ee4b2","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":9,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":9,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.94274,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"78cf8e7ae0fdf630fede084de38ee4b2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836243,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0M30.03QfaqPYON7RRAPf_Bzhws4anuUz8nVn6-NgucuP5RQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"78cf8e7ae0fdf630fede084de38ee4b2","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582"},"level":"info","message":"Attempting to run experiment","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582"},"level":"info","message":"Attempting to book experiment","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582"},"level":"info","message":"Successfully booked experiment","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"678ee650-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"678f3470-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":10,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":10,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.850481,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"678ee650-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836243,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0M30.03QfaqPYON7RRAPf_Bzhws4anuUz8nVn6-NgucuP5RQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"678ee650-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":11,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":11,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.816099,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"678f3470-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836243,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0M30.03QfaqPYON7RRAPf_Bzhws4anuUz8nVn6-NgucuP5RQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"678f3470-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22b34d9a-7672-4405-8046-461c486c4a4b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22b34d9a-7672-4405-8046-461c486c4a4b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:40.016422474Z"}]},"request_id":"caf16d36-fb0a-4f03-823a-71f2e237caae","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836243.7831364} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"678ee650-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9462e072-4d3e-4a83-9e37-c2488c58b5ac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9462e072-4d3e-4a83-9e37-c2488c58b5ac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:40.185671554Z"}]},"request_id":"f343d997-b4e8-4a8e-9ab9-46445a656ef1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836243.78527} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"678f3470-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"678ee650-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/22b34d9a-7672-4405-8046-461c486c4a4b? 200 27ms","method":"GET","requestID":"678ee650-651d-11ef-83ce-bd5a3df00b5c","responseTime":27,"status":200,"url":"/devices/22b34d9a-7672-4405-8046-461c486c4a4b?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"678f3470-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac? 200 27ms","method":"GET","requestID":"678f3470-651d-11ef-83ce-bd5a3df00b5c","responseTime":27,"status":200,"url":"/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582"},"level":"info","message":"Setting up experiment","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582"},"level":"info","message":"Successfully locked booking for experiment","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582"},"level":"info","message":"Attempting to update booking for experiment","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582"},"level":"info","message":"Successfully updated booking for experiment","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582"},"level":"info","message":"Successfully set up experiment","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"679f12f0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"679f6110-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":12,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":12,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.702718,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":13,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:43Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"679ffd50-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582"},"level":"info","message":"Successfully running experiment","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"679f12f0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836243,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0M30.03QfaqPYON7RRAPf_Bzhws4anuUz8nVn6-NgucuP5RQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 32ms","method":"POST","requestID":"679f12f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":32,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":13,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.025411,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"679f6110-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836243,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0M30.03QfaqPYON7RRAPf_Bzhws4anuUz8nVn6-NgucuP5RQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 31ms","method":"POST","requestID":"679f6110-651d-11ef-83ce-bd5a3df00b5c","responseTime":31,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":14,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22b34d9a-7672-4405-8046-461c486c4a4b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f210d8ce-31db-43b7-b718-90fa727e7fdb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836243.9127648} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":14,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.403183,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"679ffd50-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b","object_type":"device","rebac_allow":false,"scope_allow":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":"679ffd50-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22b34d9a-7672-4405-8046-461c486c4a4b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22b34d9a-7672-4405-8046-461c486c4a4b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:40.016422474Z"}]},"request_id":"fed7915a-5a93-4920-9aba-a776ebe225d8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836243.9173672} authorization-1 | {"level":"info","message":"POST /relations/query 200 9ms","method":"POST","requestID":"679f12f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"679ffd50-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/22b34d9a-7672-4405-8046-461c486c4a4b/signaling 200 48ms","method":"POST","requestID":"679ffd50-651d-11ef-83ce-bd5a3df00b5c","responseTime":48,"status":200,"url":"/devices/22b34d9a-7672-4405-8046-461c486c4a4b/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"679f12f0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9462e072-4d3e-4a83-9e37-c2488c58b5ac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9462e072-4d3e-4a83-9e37-c2488c58b5ac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:40.185671554Z"}]},"request_id":"8f1434c7-4a4c-4f68-8779-2141e420f69b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836243.922376} device-1 | {"level":"info","message":"GET /devices/22b34d9a-7672-4405-8046-461c486c4a4b? 200 58ms","method":"GET","requestID":"679f12f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":58,"status":200,"url":"/devices/22b34d9a-7672-4405-8046-461c486c4a4b?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 11ms","method":"POST","requestID":"679f6110-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"67a813a0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe857b615-8b5f-4c59-96b3-36ce890bb582#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe857b615-8b5f-4c59-96b3-36ce890bb582","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"dff6366b-b292-465c-a5f7-73ed6d17ff02","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836243.9287515} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"292f1d5c-194d-42c7-8c0a-481893bfaf59","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836243.936934} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"679f6110-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac? 200 67ms","method":"GET","requestID":"679f6110-651d-11ef-83ce-bd5a3df00b5c","responseTime":67,"status":200,"url":"/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 30ms","method":"POST","requestID":"78cf8e7ae0fdf630fede084de38ee4b2","responseTime":30,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":15,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9462e072-4d3e-4a83-9e37-c2488c58b5ac","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"868f6555-b37f-45f3-b77c-03eb07680a3b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836243.9421766} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":15,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.625098,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"67a813a0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac","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":"67aa3680-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"67a813a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":16,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:43Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"67a813a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac/signaling 200 19ms","method":"POST","requestID":"67a813a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":19,"status":200,"url":"/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22b34d9a-7672-4405-8046-461c486c4a4b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"35653a51-195b-4b64-b2ce-73f5e2ea7ed5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836243.949833} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":16,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.837925,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"67aa3680-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"67aa3680-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"67aa3680-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/22b34d9a-7672-4405-8046-461c486c4a4b/signaling 200 12ms","method":"POST","requestID":"67aa3680-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/22b34d9a-7672-4405-8046-461c486c4a4b/signaling"} gateway-1 | {"time_local":"28/Aug/2024:09:10:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"807","request_time":"0.373","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} experiment-1 | {"level":"info","message":"POST /experiments? 201 358ms","method":"POST","requestID":"78cf8e7ae0fdf630fede084de38ee4b2","responseTime":358,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"67acce90-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0M30.03QfaqPYON7RRAPf_Bzhws4anuUz8nVn6-NgucuP5RQ","level":"info","message":"auth send jwt","requestID":"ea7e7ee480eae40d1fa4fe45968da4d4"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ea7e7ee480eae40d1fa4fe45968da4d4","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":17,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:43Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ea7e7ee480eae40d1fa4fe45968da4d4"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9462e072-4d3e-4a83-9e37-c2488c58b5ac","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4b71538a-aa8c-4a3e-bdb9-259670ccce27","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836243.96774} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":17,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.743689,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":18,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"67acce90-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac","object_type":"device","rebac_allow":false,"scope_allow":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":"67acce90-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":18,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.59187,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ea7e7ee480eae40d1fa4fe45968da4d4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836243,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0M30.03QfaqPYON7RRAPf_Bzhws4anuUz8nVn6-NgucuP5RQ"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"67acce90-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"ea7e7ee480eae40d1fa4fe45968da4d4","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"POST /devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac/signaling 200 13ms","method":"POST","requestID":"67acce90-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582"},"level":"info","message":"Building connection plan","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"b99e12fa-f209-41e1-bcd5-387dee8465b0"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"ae6a80b3-5eb5-4e0a-82b2-03721bc7e9ad"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"18cb498e-d31a-4cda-8e8e-16326787d21f"}]},"level":"info","message":"Built pairwise service configurations","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22b34d9a-7672-4405-8046-461c486c4a4b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22b34d9a-7672-4405-8046-461c486c4a4b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:40.016422474Z"}]},"request_id":"582394fd-d271-497a-9107-88222c6b7d1f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836243.9807312} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ea7e7ee480eae40d1fa4fe45968da4d4","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"67b07810-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ea7e7ee480eae40d1fa4fe45968da4d4"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":19,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:43Z"} gateway-1 | {"time_local":"28/Aug/2024:09:10:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/22b34d9a-7672-4405-8046-461c486c4a4b? 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":"ea7e7ee480eae40d1fa4fe45968da4d4"} device-1 | {"level":"info","message":"GET /devices/22b34d9a-7672-4405-8046-461c486c4a4b? 200 24ms","method":"GET","requestID":"ea7e7ee480eae40d1fa4fe45968da4d4","responseTime":24,"status":200,"url":"/devices/22b34d9a-7672-4405-8046-461c486c4a4b?"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":19,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.749215,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:43Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"67b07810-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836243,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0M30.03QfaqPYON7RRAPf_Bzhws4anuUz8nVn6-NgucuP5RQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"67b07810-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0M30.03QfaqPYON7RRAPf_Bzhws4anuUz8nVn6-NgucuP5RQ","level":"info","message":"auth send jwt","requestID":"00cbfc8ca23b36fab96d09151132167a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"00cbfc8ca23b36fab96d09151132167a","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"00cbfc8ca23b36fab96d09151132167a"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":20,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":20,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.712944,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"00cbfc8ca23b36fab96d09151132167a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836243,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0M30.03QfaqPYON7RRAPf_Bzhws4anuUz8nVn6-NgucuP5RQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"00cbfc8ca23b36fab96d09151132167a","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9462e072-4d3e-4a83-9e37-c2488c58b5ac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9462e072-4d3e-4a83-9e37-c2488c58b5ac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:40.185671554Z"}]},"request_id":"76d852cf-ca8a-4e5a-8efb-278e57d02baa","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.033964} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"00cbfc8ca23b36fab96d09151132167a","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"35697ae6-661e-4dc0-b832-62c773b03b12","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.0361433} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"718ea837-4be2-4793-9360-2a1f2c663b4c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.0363624} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"00cbfc8ca23b36fab96d09151132167a"} authorization-1 | {"level":"info","message":"POST /relations/update 200 42ms","method":"POST","requestID":"67b07810-651d-11ef-83ce-bd5a3df00b5c","responseTime":42,"status":200,"url":"/relations/update"} gateway-1 | {"time_local":"28/Aug/2024:09:10:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac? 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":"00cbfc8ca23b36fab96d09151132167a"} device-1 | {"level":"info","message":"GET /devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac? 200 43ms","method":"GET","requestID":"00cbfc8ca23b36fab96d09151132167a","responseTime":43,"status":200,"url":"/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"67b07810-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"67b07810-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/6ba0ab77-108a-4561-bd6e-0023bbe33a1e'","requestID":"67b07810-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/6ba0ab77-108a-4561-bd6e-0023bbe33a1e'","requestID":"67b07810-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"67b07810-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 71ms","method":"POST","requestID":"67b07810-651d-11ef-83ce-bd5a3df00b5c","responseTime":71,"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":"67b07810-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/6ba0ab77-108a-4561-bd6e-0023bbe33a1e","device":"22b34d9a-7672-4405-8046-461c486c4a4b","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/6ba0ab77-108a-4561-bd6e-0023bbe33a1e","device":"9462e072-4d3e-4a83-9e37-c2488c58b5ac","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/e857b615-8b5f-4c59-96b3-36ce890bb582"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"78cf8e7ae0fdf630fede084de38ee4b2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"67c20440-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":21,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22b34d9a-7672-4405-8046-461c486c4a4b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1899e2a2-4b97-40ce-8810-c345b793ca86","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.106353} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":21,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.708543,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"67c20440-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b","object_type":"device","rebac_allow":false,"scope_allow":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":"67c20440-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"67c20440-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/22b34d9a-7672-4405-8046-461c486c4a4b/signaling 200 13ms","method":"POST","requestID":"67c20440-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/22b34d9a-7672-4405-8046-461c486c4a4b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"67c49c50-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"device":"22b34d9a-7672-4405-8046-461c486c4a4b","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"22b34d9a-7672-4405-8046-461c486c4a4b","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":22,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:44Z"} device-1 | {"device":"9462e072-4d3e-4a83-9e37-c2488c58b5ac","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"9462e072-4d3e-4a83-9e37-c2488c58b5ac","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9462e072-4d3e-4a83-9e37-c2488c58b5ac","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a6a5ce8a-7ded-44fd-86d6-3a64e0b3c5ee","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.1469688} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":22,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.628373,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"67c49c50-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 31ms","method":"POST","requestID":"67c49c50-651d-11ef-83ce-bd5a3df00b5c","responseTime":31,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"67c49c50-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac/signaling 200 40ms","method":"POST","requestID":"67c49c50-651d-11ef-83ce-bd5a3df00b5c","responseTime":40,"status":200,"url":"/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 7454985335471239292 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:yUal\r\na=ice-pwd:CwySLmr2Qyvf3DCK0k8veKK5\r\na=ice-options:trickle\r\na=fingerprint:sha-256 D5:56:6A:7A:3F:DC:C1:52:38:AF:39:E8:99:3B:64:8E:87:22:2F:FE:AC:AE:8D:9D:13:04:56:49:36:20:CB:EA\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"9462e072-4d3e-4a83-9e37-c2488c58b5ac","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 8230290944271807396 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:L50h\r\na=ice-pwd:Aw8+lEQuzzqlw7ls9Qexycqd\r\na=ice-options:trickle\r\na=fingerprint:sha-256 A7:23:C9:6F:F5:2A:F4:B4:F9:9B:D3:55:0A:14:97:E6:8C:1C:B0:C3:3A:8C:88:9A:20:09:E6:DF:09:7A:DB:2A\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"22b34d9a-7672-4405-8046-461c486c4a4b","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:3532241183 1 udp 2113937151 2fb4105f-abf7-4225-8928-a413b1483e0b.local 40074 typ host generation 0 ufrag L50h network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"22b34d9a-7672-4405-8046-461c486c4a4b","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3671192280 1 udp 1677729535 141.24.211.56 40074 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag L50h network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"22b34d9a-7672-4405-8046-461c486c4a4b","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/22b34d9a-7672-4405-8046-461c486c4a4b'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b'"} device-1 | {"content":{"candidate":"candidate:2719702469 1 udp 2113937151 ef6acbb5-b0c9-4040-a70a-080663dd9271.local 34657 typ host generation 0 ufrag yUal network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"9462e072-4d3e-4a83-9e37-c2488c58b5ac","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2856523266 1 udp 1677729535 141.24.211.56 34657 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag yUal network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"9462e072-4d3e-4a83-9e37-c2488c58b5ac","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/9462e072-4d3e-4a83-9e37-c2488c58b5ac'"} device-1 | {"device":"9462e072-4d3e-4a83-9e37-c2488c58b5ac","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"22b34d9a-7672-4405-8046-461c486c4a4b","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"22b34d9a-7672-4405-8046-461c486c4a4b","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"9462e072-4d3e-4a83-9e37-c2488c58b5ac","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/6ba0ab77-108a-4561-bd6e-0023bbe33a1e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"6ba0ab77-108a-4561-bd6e-0023bbe33a1e","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"9462e072-4d3e-4a83-9e37-c2488c58b5ac","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"22b34d9a-7672-4405-8046-461c486c4a4b","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"22b34d9a-7672-4405-8046-461c486c4a4b","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"abab0f2d34c8d34a67bc4ef5d420b287","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"abab0f2d34c8d34a67bc4ef5d420b287","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/22b34d9a-7672-4405-8046-461c486c4a4b"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/6ba0ab77-108a-4561-bd6e-0023bbe33a1e"}}},"level":"info","message":"received a callback","requestID":"abab0f2d34c8d34a67bc4ef5d420b287"} device-1 | {"data":{"peerconnection":"6ba0ab77-108a-4561-bd6e-0023bbe33a1e","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 21ms","method":"POST","requestID":"abab0f2d34c8d34a67bc4ef5d420b287","responseTime":21,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:10: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.027","http_referrer":"","http_user_agent":"node-fetch","requestID":"abab0f2d34c8d34a67bc4ef5d420b287"} device-1 | {"data":{"peerconnection":"6ba0ab77-108a-4561-bd6e-0023bbe33a1e","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/6ba0ab77-108a-4561-bd6e-0023bbe33a1e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"6ba0ab77-108a-4561-bd6e-0023bbe33a1e","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"74f9242018b7527f15a794a353bffaf3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"74f9242018b7527f15a794a353bffaf3","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/22b34d9a-7672-4405-8046-461c486c4a4b"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/6ba0ab77-108a-4561-bd6e-0023bbe33a1e"}}},"level":"info","message":"received a callback","requestID":"74f9242018b7527f15a794a353bffaf3"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"67e088c0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":23,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F6ba0ab77-108a-4561-bd6e-0023bbe33a1e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"35c0d21f-7c16-4515-b86e-1920f631e744","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.3063896} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":23,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.748599,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/6ba0ab77-108a-4561-bd6e-0023bbe33a1e","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"67e088c0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/6ba0ab77-108a-4561-bd6e-0023bbe33a1e","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":"67e088c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"67e088c0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/6ba0ab77-108a-4561-bd6e-0023bbe33a1e 200 13ms","method":"GET","requestID":"67e088c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/peerconnections/6ba0ab77-108a-4561-bd6e-0023bbe33a1e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0NH0.EdUg_A9PTnFUarO5Ig01757o406ztNwDWk2ZZbWugdU","level":"info","message":"auth send jwt","requestID":"d577649b93eb6e9fd57e8b492e8dcdd9"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"d577649b93eb6e9fd57e8b492e8dcdd9","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/e857b615-8b5f-4c59-96b3-36ce890bb582","requestID":"d577649b93eb6e9fd57e8b492e8dcdd9"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":24,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":24,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.981539,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"d577649b93eb6e9fd57e8b492e8dcdd9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836244,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0NH0.EdUg_A9PTnFUarO5Ig01757o406ztNwDWk2ZZbWugdU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"d577649b93eb6e9fd57e8b492e8dcdd9","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 67ms","method":"POST","requestID":"74f9242018b7527f15a794a353bffaf3","responseTime":67,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:10: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.072","http_referrer":"","http_user_agent":"node-fetch","requestID":"74f9242018b7527f15a794a353bffaf3"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"67e96260-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":25,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:44Z"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/e857b615-8b5f-4c59-96b3-36ce890bb582","requestID":"d577649b93eb6e9fd57e8b492e8dcdd9"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22b34d9a-7672-4405-8046-461c486c4a4b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f4b3d7c5-7304-48c6-b8b9-40bd2b0893ad","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.3641956} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":25,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.964937,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"67e96260-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"67e96260-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"28/Aug/2024:09:10:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/e857b615-8b5f-4c59-96b3-36ce890bb582 HTTP/1.1","status": "200","body_bytes_sent":"880","request_time":"0.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d577649b93eb6e9fd57e8b492e8dcdd9"} experiment-1 | {"level":"info","message":"GET /experiments/e857b615-8b5f-4c59-96b3-36ce890bb582 200 38ms","method":"GET","requestID":"d577649b93eb6e9fd57e8b492e8dcdd9","responseTime":38,"status":200,"url":"/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"67e96260-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/22b34d9a-7672-4405-8046-461c486c4a4b/signaling 200 12ms","method":"POST","requestID":"67e96260-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/22b34d9a-7672-4405-8046-461c486c4a4b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"67ebd360-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0NH0.EdUg_A9PTnFUarO5Ig01757o406ztNwDWk2ZZbWugdU","level":"info","message":"auth send jwt","requestID":"dba96e71a384b2c3446cadb4a9a8eb78"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"dba96e71a384b2c3446cadb4a9a8eb78","responseTime":5,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":26,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9462e072-4d3e-4a83-9e37-c2488c58b5ac","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"057502df-5a5f-4d1c-8034-03a90324ba8a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.3799448} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/e857b615-8b5f-4c59-96b3-36ce890bb582","requestID":"dba96e71a384b2c3446cadb4a9a8eb78"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":26,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.918842,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"67ebd360-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac","object_type":"device","rebac_allow":false,"scope_allow":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":"67ebd360-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":27,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":27,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.976834,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:44Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"67ebd360-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac/signaling 200 13ms","method":"POST","requestID":"67ebd360-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac/signaling"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"dba96e71a384b2c3446cadb4a9a8eb78","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836244,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0NH0.EdUg_A9PTnFUarO5Ig01757o406ztNwDWk2ZZbWugdU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"dba96e71a384b2c3446cadb4a9a8eb78","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582"},"level":"info","message":"Attempting to finish experiment","requestID":"dba96e71a384b2c3446cadb4a9a8eb78"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"67eff210-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":28,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":28,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.946279,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/6ba0ab77-108a-4561-bd6e-0023bbe33a1e","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"67eff210-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/6ba0ab77-108a-4561-bd6e-0023bbe33a1e","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836244,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0NH0.EdUg_A9PTnFUarO5Ig01757o406ztNwDWk2ZZbWugdU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"67eff210-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/6ba0ab77-108a-4561-bd6e-0023bbe33a1e","device":"22b34d9a-7672-4405-8046-461c486c4a4b","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/6ba0ab77-108a-4561-bd6e-0023bbe33a1e","device":"9462e072-4d3e-4a83-9e37-c2488c58b5ac","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/6ba0ab77-108a-4561-bd6e-0023bbe33a1e' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/6ba0ab77-108a-4561-bd6e-0023bbe33a1e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"6ba0ab77-108a-4561-bd6e-0023bbe33a1e","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"544b50640c516eb3483ed28952fac36a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"544b50640c516eb3483ed28952fac36a","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/22b34d9a-7672-4405-8046-461c486c4a4b"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/6ba0ab77-108a-4561-bd6e-0023bbe33a1e"}}},"level":"info","message":"received a callback","requestID":"544b50640c516eb3483ed28952fac36a"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"57d4cccd3c0930f02806da9f15285352","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"57d4cccd3c0930f02806da9f15285352","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/22b34d9a-7672-4405-8046-461c486c4a4b"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/6ba0ab77-108a-4561-bd6e-0023bbe33a1e"}}},"level":"info","message":"received a callback","requestID":"57d4cccd3c0930f02806da9f15285352"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F6ba0ab77-108a-4561-bd6e-0023bbe33a1e': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F6ba0ab77-108a-4561-bd6e-0023bbe33a1e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"d71b704e-a636-4ef9-b5b5-a09a22d93e8d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.442098} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"075e2458-89b0-4a7e-b2dd-8919a476f1dd","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.4424112} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"67eff210-651d-11ef-83ce-bd5a3df00b5c","responseTime":24,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"6ba0ab77-108a-4561-bd6e-0023bbe33a1e","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"67eff210-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/6ba0ab77-108a-4561-bd6e-0023bbe33a1e 204 59ms","method":"DELETE","requestID":"67eff210-651d-11ef-83ce-bd5a3df00b5c","responseTime":59,"status":204,"url":"/peerconnections/6ba0ab77-108a-4561-bd6e-0023bbe33a1e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582"},"level":"info","message":"Successfully finished experiment","requestID":"dba96e71a384b2c3446cadb4a9a8eb78"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"680045c0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":29,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F22b34d9a-7672-4405-8046-461c486c4a4b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7b81467e-f694-43be-a63b-700f9f9d3380","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.5152135} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":29,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.745674,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"680045c0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/22b34d9a-7672-4405-8046-461c486c4a4b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"680045c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"680045c0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/22b34d9a-7672-4405-8046-461c486c4a4b/signaling 200 12ms","method":"POST","requestID":"680045c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/22b34d9a-7672-4405-8046-461c486c4a4b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"68028fb0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":30,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":30,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.648823,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9462e072-4d3e-4a83-9e37-c2488c58b5ac","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cb2d4c01-922c-45f0-ac18-c76b688bc879","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.5286028} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"68028fb0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac","object_type":"device","rebac_allow":false,"scope_allow":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":"68028fb0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe857b615-8b5f-4c59-96b3-36ce890bb582': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe857b615-8b5f-4c59-96b3-36ce890bb582","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"52afa961-8b01-438d-8d02-f79d91c7f48d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.5306885} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"662b1130-ba12-4dbc-b1f5-91089a913877","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.5310056} authorization-1 | {"level":"info","message":"POST /relations/update 200 27ms","method":"POST","requestID":"dba96e71a384b2c3446cadb4a9a8eb78","responseTime":27,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"68028fb0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac/signaling 200 12ms","method":"POST","requestID":"68028fb0-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/e857b615-8b5f-4c59-96b3-36ce890bb582","requestID":"dba96e71a384b2c3446cadb4a9a8eb78"} gateway-1 | {"time_local":"28/Aug/2024:09:10:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/e857b615-8b5f-4c59-96b3-36ce890bb582 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.223","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"dba96e71a384b2c3446cadb4a9a8eb78"} experiment-1 | {"level":"info","message":"DELETE /experiments/e857b615-8b5f-4c59-96b3-36ce890bb582 204 217ms","method":"DELETE","requestID":"dba96e71a384b2c3446cadb4a9a8eb78","responseTime":217,"status":204,"url":"/experiments/e857b615-8b5f-4c59-96b3-36ce890bb582"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 167ms","method":"POST","requestID":"544b50640c516eb3483ed28952fac36a","responseTime":167,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:10: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.172","http_referrer":"","http_user_agent":"node-fetch","requestID":"544b50640c516eb3483ed28952fac36a"} gateway-1 | {"time_local":"28/Aug/2024:09:10: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.173","http_referrer":"","http_user_agent":"node-fetch","requestID":"57d4cccd3c0930f02806da9f15285352"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 164ms","method":"POST","requestID":"57d4cccd3c0930f02806da9f15285352","responseTime":164,"status":200,"url":"/callbacks/experiment"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0NH0.EdUg_A9PTnFUarO5Ig01757o406ztNwDWk2ZZbWugdU","level":"info","message":"auth send jwt","requestID":"8393cadf861f0fef362e1a9b64f5b832"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"8393cadf861f0fef362e1a9b64f5b832","responseTime":7,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:10:44 +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.152","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d17642bcafe8a7395b0bae3400f16ffb"} gateway-1 | {"time_local":"28/Aug/2024:09:10:44 +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.142","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d6f51a02b1170a433efd229bc5914255"} device-1 | {"level":"info","message":"postDevices called","requestID":"8393cadf861f0fef362e1a9b64f5b832"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":31,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":31,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.042561,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8393cadf861f0fef362e1a9b64f5b832","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836244,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0NH0.EdUg_A9PTnFUarO5Ig01757o406ztNwDWk2ZZbWugdU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8393cadf861f0fef362e1a9b64f5b832","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/22b34d9a-7672-4405-8046-461c486c4a4b' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/9462e072-4d3e-4a83-9e37-c2488c58b5ac' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70730e1b-2164-4716-9e8f-595ff963d9f7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"3619b3a2-29ad-4302-a033-e2516adfe5a3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.6316998} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"8393cadf861f0fef362e1a9b64f5b832","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f1df44bd-5dd2-43ca-a2b3-e8ee55af5775","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.6368392} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"8393cadf861f0fef362e1a9b64f5b832","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70730e1b-2164-4716-9e8f-595ff963d9f7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"e2bdc4e6-2cef-4a29-902f-dc40809344f9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.6705072} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f9ed5f98-e1c4-45d4-a388-b38eb95ed569","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.6706033} authorization-1 | {"level":"info","message":"POST /relations/update 200 36ms","method":"POST","requestID":"8393cadf861f0fef362e1a9b64f5b832","responseTime":36,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70730e1b-2164-4716-9e8f-595ff963d9f7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70730e1b-2164-4716-9e8f-595ff963d9f7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:44.670493299Z"}]},"request_id":"06c1e1a3-09bf-4b7b-aa78-85b5daf1f882","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.6779993} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8393cadf861f0fef362e1a9b64f5b832","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"8393cadf861f0fef362e1a9b64f5b832"} gateway-1 | {"time_local":"28/Aug/2024:09:10:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.083","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8393cadf861f0fef362e1a9b64f5b832"} device-1 | {"level":"info","message":"POST /devices? 201 71ms","method":"POST","requestID":"8393cadf861f0fef362e1a9b64f5b832","responseTime":71,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0NH0.EdUg_A9PTnFUarO5Ig01757o406ztNwDWk2ZZbWugdU","level":"info","message":"auth send jwt","requestID":"9f2ecbdc4d67a9b6c9e4118bef060705"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9f2ecbdc4d67a9b6c9e4118bef060705","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"9f2ecbdc4d67a9b6c9e4118bef060705"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":32,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":32,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.995044,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:44Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9f2ecbdc4d67a9b6c9e4118bef060705","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836244,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0NH0.EdUg_A9PTnFUarO5Ig01757o406ztNwDWk2ZZbWugdU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"9f2ecbdc4d67a9b6c9e4118bef060705","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"83a92b66-c888-4661-afa7-17b81d6d5b4d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.7150407} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9f2ecbdc4d67a9b6c9e4118bef060705","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"382d8e7d-858c-48a1-9bf8-97770eb9ce10","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.720034} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"9f2ecbdc4d67a9b6c9e4118bef060705","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"e55dcf68-4a68-4b84-922b-f1e9d78840a2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.7345765} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b439c24e-8bfd-453c-8461-30b657ff380d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.7346604} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"9f2ecbdc4d67a9b6c9e4118bef060705","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:44.734557200Z"}]},"request_id":"db08253d-458f-49d6-9155-31ac7f4814da","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836244.7393582} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9f2ecbdc4d67a9b6c9e4118bef060705","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"9f2ecbdc4d67a9b6c9e4118bef060705"} gateway-1 | {"time_local":"28/Aug/2024:09:10: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.057","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9f2ecbdc4d67a9b6c9e4118bef060705"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"9f2ecbdc4d67a9b6c9e4118bef060705","responseTime":47,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0NX0.LguQ7oJLf7yh96ImgTR2sWsciJcASL8S69ezd2L9bq0","level":"info","message":"auth send jwt","requestID":"c1c1a3fdbfd086db26dd529143137fb0"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c1c1a3fdbfd086db26dd529143137fb0","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"c1c1a3fdbfd086db26dd529143137fb0"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":33,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:45Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":33,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.645433,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:45Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"c1c1a3fdbfd086db26dd529143137fb0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836245,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0NX0.LguQ7oJLf7yh96ImgTR2sWsciJcASL8S69ezd2L9bq0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c1c1a3fdbfd086db26dd529143137fb0","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:44.734557200Z"}]},"request_id":"812c7456-57b3-400b-bb47-1bcb097e8109","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836245.4909337} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c1c1a3fdbfd086db26dd529143137fb0","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b420b034-91b5-4c64-afd6-c5a7a83edb4e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836245.497204} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"c1c1a3fdbfd086db26dd529143137fb0","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:44.734557200Z"}]},"request_id":"3a3daba0-98a8-4bab-aff9-59c9bc36b8af","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836245.5164316} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c1c1a3fdbfd086db26dd529143137fb0","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"c1c1a3fdbfd086db26dd529143137fb0"} gateway-1 | {"time_local":"28/Aug/2024:09:10:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/07122f39-1366-4fa0-ac1b-c405fff97a25 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.054","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"c1c1a3fdbfd086db26dd529143137fb0"} device-1 | {"level":"info","message":"PATCH /devices/07122f39-1366-4fa0-ac1b-c405fff97a25 200 49ms","method":"PATCH","requestID":"c1c1a3fdbfd086db26dd529143137fb0","responseTime":49,"status":200,"url":"/devices/07122f39-1366-4fa0-ac1b-c405fff97a25"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0NX0.LguQ7oJLf7yh96ImgTR2sWsciJcASL8S69ezd2L9bq0","level":"info","message":"auth send jwt","requestID":"5e57ef62d6c1a5dca4dcbfe3183f9221"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5e57ef62d6c1a5dca4dcbfe3183f9221","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"5e57ef62d6c1a5dca4dcbfe3183f9221"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":34,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:45Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":34,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.807802,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:45Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"5e57ef62d6c1a5dca4dcbfe3183f9221","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836245,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0NX0.LguQ7oJLf7yh96ImgTR2sWsciJcASL8S69ezd2L9bq0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5e57ef62d6c1a5dca4dcbfe3183f9221","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"5e57ef62d6c1a5dca4dcbfe3183f9221"} gateway-1 | {"time_local":"28/Aug/2024:09:10:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/07122f39-1366-4fa0-ac1b-c405fff97a25/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":"5e57ef62d6c1a5dca4dcbfe3183f9221"} device-1 | {"level":"info","message":"POST /devices/07122f39-1366-4fa0-ac1b-c405fff97a25/websocket 200 16ms","method":"POST","requestID":"5e57ef62d6c1a5dca4dcbfe3183f9221","responseTime":16,"status":200,"url":"/devices/07122f39-1366-4fa0-ac1b-c405fff97a25/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cda1f2c709bade4a14fdf3b6450728ba","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"cda1f2c709bade4a14fdf3b6450728ba","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:10:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/70730e1b-2164-4716-9e8f-595ff963d9f7/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":"cda1f2c709bade4a14fdf3b6450728ba"} device-1 | {"level":"info","message":"OPTIONS /devices/70730e1b-2164-4716-9e8f-595ff963d9f7/websocket 200 0ms","method":"OPTIONS","requestID":"cda1f2c709bade4a14fdf3b6450728ba","responseTime":0,"status":200,"url":"/devices/70730e1b-2164-4716-9e8f-595ff963d9f7/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0Nn0.QHQuxB30SwAAbAaCqokuHgzXhvT4N5OKj7V9SS6_NT0","level":"info","message":"auth send jwt","requestID":"c82dd2c92812751180c2dfe6eb209475"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c82dd2c92812751180c2dfe6eb209475","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"c82dd2c92812751180c2dfe6eb209475"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":35,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":35,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.731044,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"c82dd2c92812751180c2dfe6eb209475","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836246,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0Nn0.QHQuxB30SwAAbAaCqokuHgzXhvT4N5OKj7V9SS6_NT0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c82dd2c92812751180c2dfe6eb209475","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"c82dd2c92812751180c2dfe6eb209475"} gateway-1 | {"time_local":"28/Aug/2024:09:10:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/70730e1b-2164-4716-9e8f-595ff963d9f7/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":"c82dd2c92812751180c2dfe6eb209475"} device-1 | {"level":"info","message":"POST /devices/70730e1b-2164-4716-9e8f-595ff963d9f7/websocket 200 20ms","method":"POST","requestID":"c82dd2c92812751180c2dfe6eb209475","responseTime":20,"status":200,"url":"/devices/70730e1b-2164-4716-9e8f-595ff963d9f7/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0Nn0.QHQuxB30SwAAbAaCqokuHgzXhvT4N5OKj7V9SS6_NT0","level":"info","message":"auth send jwt","requestID":"ff76ed20f8ab15d549c3fc750dfba523"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ff76ed20f8ab15d549c3fc750dfba523","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ff76ed20f8ab15d549c3fc750dfba523"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":36,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":36,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.837349,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ff76ed20f8ab15d549c3fc750dfba523","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836246,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0Nn0.QHQuxB30SwAAbAaCqokuHgzXhvT4N5OKj7V9SS6_NT0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ff76ed20f8ab15d549c3fc750dfba523","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70730e1b-2164-4716-9e8f-595ff963d9f7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70730e1b-2164-4716-9e8f-595ff963d9f7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:44.670493299Z"}]},"request_id":"bc474ef9-5b62-4281-a3ad-5d57eaa84a0c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836246.808523} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ff76ed20f8ab15d549c3fc750dfba523","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ff76ed20f8ab15d549c3fc750dfba523"} gateway-1 | {"time_local":"28/Aug/2024:09:10:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/70730e1b-2164-4716-9e8f-595ff963d9f7? 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":"ff76ed20f8ab15d549c3fc750dfba523"} device-1 | {"level":"info","message":"GET /devices/70730e1b-2164-4716-9e8f-595ff963d9f7? 200 15ms","method":"GET","requestID":"ff76ed20f8ab15d549c3fc750dfba523","responseTime":15,"status":200,"url":"/devices/70730e1b-2164-4716-9e8f-595ff963d9f7?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0Nn0.QHQuxB30SwAAbAaCqokuHgzXhvT4N5OKj7V9SS6_NT0","level":"info","message":"auth send jwt","requestID":"fb5c494d0a5e2510aec9e63d04180eb0"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"fb5c494d0a5e2510aec9e63d04180eb0","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fb5c494d0a5e2510aec9e63d04180eb0"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":37,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":37,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.012925,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"fb5c494d0a5e2510aec9e63d04180eb0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836246,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0Nn0.QHQuxB30SwAAbAaCqokuHgzXhvT4N5OKj7V9SS6_NT0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"fb5c494d0a5e2510aec9e63d04180eb0","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:44.734557200Z"}]},"request_id":"4ac1c795-556e-47c4-a631-ccf7af873bec","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836246.830696} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"fb5c494d0a5e2510aec9e63d04180eb0","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fb5c494d0a5e2510aec9e63d04180eb0"} gateway-1 | {"time_local":"28/Aug/2024:09:10:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/07122f39-1366-4fa0-ac1b-c405fff97a25? 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":"fb5c494d0a5e2510aec9e63d04180eb0"} device-1 | {"level":"info","message":"GET /devices/07122f39-1366-4fa0-ac1b-c405fff97a25? 200 14ms","method":"GET","requestID":"fb5c494d0a5e2510aec9e63d04180eb0","responseTime":14,"status":200,"url":"/devices/07122f39-1366-4fa0-ac1b-c405fff97a25?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0Nn0.QHQuxB30SwAAbAaCqokuHgzXhvT4N5OKj7V9SS6_NT0","level":"info","message":"auth send jwt","requestID":"e3432c278cbc4a819b3a690b54091bd4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e3432c278cbc4a819b3a690b54091bd4","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"e3432c278cbc4a819b3a690b54091bd4"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":38,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":38,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.70458,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"e3432c278cbc4a819b3a690b54091bd4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836246,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0Nn0.QHQuxB30SwAAbAaCqokuHgzXhvT4N5OKj7V9SS6_NT0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e3432c278cbc4a819b3a690b54091bd4","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ce027394-2456-42fa-b100-c195f21236b0"},"level":"info","message":"Attempting to run experiment","requestID":"e3432c278cbc4a819b3a690b54091bd4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ce027394-2456-42fa-b100-c195f21236b0"},"level":"info","message":"Attempting to book experiment","requestID":"e3432c278cbc4a819b3a690b54091bd4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ce027394-2456-42fa-b100-c195f21236b0"},"level":"info","message":"Successfully booked experiment","requestID":"e3432c278cbc4a819b3a690b54091bd4"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"696e0690-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"696e2da0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":39,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":39,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.629654,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":40,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"696e0690-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836246,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0Nn0.QHQuxB30SwAAbAaCqokuHgzXhvT4N5OKj7V9SS6_NT0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"696e0690-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":40,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.717481,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"696e2da0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836246,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0Nn0.QHQuxB30SwAAbAaCqokuHgzXhvT4N5OKj7V9SS6_NT0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"696e2da0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70730e1b-2164-4716-9e8f-595ff963d9f7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70730e1b-2164-4716-9e8f-595ff963d9f7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:44.670493299Z"}]},"request_id":"21912ff8-b6a8-418e-8e52-420be4899192","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836246.913664} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"696e0690-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:44.734557200Z"}]},"request_id":"9bcf6011-5868-48e6-9d0f-b8eb1c3e4cd1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836246.914671} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"696e2da0-651d-11ef-83ce-bd5a3df00b5c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"696e0690-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/70730e1b-2164-4716-9e8f-595ff963d9f7? 200 14ms","method":"GET","requestID":"696e0690-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/devices/70730e1b-2164-4716-9e8f-595ff963d9f7?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"696e2da0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/07122f39-1366-4fa0-ac1b-c405fff97a25? 200 14ms","method":"GET","requestID":"696e2da0-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/devices/07122f39-1366-4fa0-ac1b-c405fff97a25?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ce027394-2456-42fa-b100-c195f21236b0"},"level":"info","message":"Setting up experiment","requestID":"e3432c278cbc4a819b3a690b54091bd4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ce027394-2456-42fa-b100-c195f21236b0"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"e3432c278cbc4a819b3a690b54091bd4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ce027394-2456-42fa-b100-c195f21236b0"},"level":"info","message":"Successfully locked booking for experiment","requestID":"e3432c278cbc4a819b3a690b54091bd4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ce027394-2456-42fa-b100-c195f21236b0"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"e3432c278cbc4a819b3a690b54091bd4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ce027394-2456-42fa-b100-c195f21236b0"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"e3432c278cbc4a819b3a690b54091bd4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ce027394-2456-42fa-b100-c195f21236b0"},"level":"info","message":"Attempting to update booking for experiment","requestID":"e3432c278cbc4a819b3a690b54091bd4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ce027394-2456-42fa-b100-c195f21236b0"},"level":"info","message":"Successfully updated booking for experiment","requestID":"e3432c278cbc4a819b3a690b54091bd4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ce027394-2456-42fa-b100-c195f21236b0"},"level":"info","message":"Successfully set up experiment","requestID":"e3432c278cbc4a819b3a690b54091bd4"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"69769210-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6976b920-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"69770740-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ce027394-2456-42fa-b100-c195f21236b0"},"level":"info","message":"Successfully running experiment","requestID":"e3432c278cbc4a819b3a690b54091bd4"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":41,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":41,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.903396,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":42,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"69769210-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836246,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0Nn0.QHQuxB30SwAAbAaCqokuHgzXhvT4N5OKj7V9SS6_NT0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"69769210-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":42,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.8898,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":43,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6976b920-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836246,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0Nn0.QHQuxB30SwAAbAaCqokuHgzXhvT4N5OKj7V9SS6_NT0"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"6976b920-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":43,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.532747,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70730e1b-2164-4716-9e8f-595ff963d9f7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f7c8f1dd-d9c3-4e0f-a91e-0152d11891d9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836246.9718409} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"69770740-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7","object_type":"device","rebac_allow":false,"scope_allow":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":"69770740-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70730e1b-2164-4716-9e8f-595ff963d9f7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70730e1b-2164-4716-9e8f-595ff963d9f7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:44.670493299Z"}]},"request_id":"3277d91e-d30f-409a-bf50-062cb6cdd121","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836246.976108} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"69770740-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/70730e1b-2164-4716-9e8f-595ff963d9f7/signaling 200 16ms","method":"POST","requestID":"69770740-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/70730e1b-2164-4716-9e8f-595ff963d9f7/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"69769210-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:44.734557200Z"}]},"request_id":"ebedd231-2cad-4b7d-9d84-355b40d2fcf4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836246.9801774} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6976b920-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"697a1480-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"69769210-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fce027394-2456-42fa-b100-c195f21236b0#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fce027394-2456-42fa-b100-c195f21236b0","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"e30bba9d-95dd-446e-80b9-169358370b22","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836246.9857407} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4a46b70b-308b-449f-a562-801fe16d0b75","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836246.9871402} device-1 | {"level":"info","message":"GET /devices/70730e1b-2164-4716-9e8f-595ff963d9f7? 200 27ms","method":"GET","requestID":"69769210-651d-11ef-83ce-bd5a3df00b5c","responseTime":27,"status":200,"url":"/devices/70730e1b-2164-4716-9e8f-595ff963d9f7?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6976b920-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/07122f39-1366-4fa0-ac1b-c405fff97a25? 200 27ms","method":"GET","requestID":"6976b920-651d-11ef-83ce-bd5a3df00b5c","responseTime":27,"status":200,"url":"/devices/07122f39-1366-4fa0-ac1b-c405fff97a25?"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":44,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fa80127c-4195-4d6e-b03a-4e9e25de1550","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836246.9889045} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":44,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.696921,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"e3432c278cbc4a819b3a690b54091bd4","responseTime":21,"status":200,"url":"/relations/update"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"697a1480-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","object_type":"device","rebac_allow":false,"scope_allow":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":"697a1480-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"697b7410-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":45,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:46Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70730e1b-2164-4716-9e8f-595ff963d9f7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fef01d08-e1e7-4e42-b006-e35b5691c871","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836247.0013163} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":45,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.463464,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"697b7410-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7","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/ce027394-2456-42fa-b100-c195f21236b0","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"e3432c278cbc4a819b3a690b54091bd4"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"697b7410-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"28/Aug/2024:09:10:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"811","request_time":"0.167","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e3432c278cbc4a819b3a690b54091bd4"} experiment-1 | {"level":"info","message":"POST /experiments? 201 162ms","method":"POST","requestID":"e3432c278cbc4a819b3a690b54091bd4","responseTime":162,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"697a1480-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/07122f39-1366-4fa0-ac1b-c405fff97a25/signaling 200 23ms","method":"POST","requestID":"697a1480-651d-11ef-83ce-bd5a3df00b5c","responseTime":23,"status":200,"url":"/devices/07122f39-1366-4fa0-ac1b-c405fff97a25/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"697b7410-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/70730e1b-2164-4716-9e8f-595ff963d9f7/signaling 200 16ms","method":"POST","requestID":"697b7410-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/70730e1b-2164-4716-9e8f-595ff963d9f7/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0N30.Jgua_SRJJWTVlAC2XieR7RN0fL1VrhzCLrf_vLub7Vo","level":"info","message":"auth send jwt","requestID":"d8311943abed7128134c9478783a86de"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d8311943abed7128134c9478783a86de","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"697e8150-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d8311943abed7128134c9478783a86de"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":46,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:47Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":47,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:47Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":46,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.97472,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:47Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8ffab591-dcac-46f7-bcf0-8fb9fe8fdf76","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836247.0222304} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"697e8150-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","object_type":"device","rebac_allow":false,"scope_allow":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":"697e8150-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":47,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.44015,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"d8311943abed7128134c9478783a86de","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836247,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0N30.Jgua_SRJJWTVlAC2XieR7RN0fL1VrhzCLrf_vLub7Vo"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"d8311943abed7128134c9478783a86de","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"697e8150-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/07122f39-1366-4fa0-ac1b-c405fff97a25/signaling 200 17ms","method":"POST","requestID":"697e8150-651d-11ef-83ce-bd5a3df00b5c","responseTime":17,"status":200,"url":"/devices/07122f39-1366-4fa0-ac1b-c405fff97a25/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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70730e1b-2164-4716-9e8f-595ff963d9f7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70730e1b-2164-4716-9e8f-595ff963d9f7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:44.670493299Z"}]},"request_id":"91bbaa49-9b87-4f21-8dfa-418fb1ba8a07","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836247.0303788} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d8311943abed7128134c9478783a86de","responseTime":4,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ce027394-2456-42fa-b100-c195f21236b0"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"e3432c278cbc4a819b3a690b54091bd4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ce027394-2456-42fa-b100-c195f21236b0"},"level":"info","message":"Building connection plan","requestID":"e3432c278cbc4a819b3a690b54091bd4"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"af457347-b2e1-41c5-aca7-77460c7f8b4f"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"dfb63ffe-cc50-4962-bf72-9b8dcd61a021"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"632567a7-acb8-44ac-accc-5f9e73266f44"}]},"level":"info","message":"Built pairwise service configurations","requestID":"e3432c278cbc4a819b3a690b54091bd4"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"e3432c278cbc4a819b3a690b54091bd4"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"6981b5a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d8311943abed7128134c9478783a86de"} device-1 | {"level":"info","message":"GET /devices/70730e1b-2164-4716-9e8f-595ff963d9f7? 200 22ms","method":"GET","requestID":"d8311943abed7128134c9478783a86de","responseTime":22,"status":200,"url":"/devices/70730e1b-2164-4716-9e8f-595ff963d9f7?"} gateway-1 | {"time_local":"28/Aug/2024:09:10:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/70730e1b-2164-4716-9e8f-595ff963d9f7? 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":"d8311943abed7128134c9478783a86de"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":48,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:47Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":48,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.855067,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:47Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6981b5a0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836246,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0Nn0.QHQuxB30SwAAbAaCqokuHgzXhvT4N5OKj7V9SS6_NT0"} authorization-1 | {"level":"info","message":"POST /authorize 200 29ms","method":"POST","requestID":"6981b5a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":29,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0N30.Jgua_SRJJWTVlAC2XieR7RN0fL1VrhzCLrf_vLub7Vo","level":"info","message":"auth send jwt","requestID":"f1944e906d2e65c75eb7830a716742d1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f1944e906d2e65c75eb7830a716742d1","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f1944e906d2e65c75eb7830a716742d1"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":49,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:47Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":49,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.723253,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:47Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"f1944e906d2e65c75eb7830a716742d1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836247,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0N30.Jgua_SRJJWTVlAC2XieR7RN0fL1VrhzCLrf_vLub7Vo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f1944e906d2e65c75eb7830a716742d1","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"3c10ffca-8bff-4ccb-b17b-6374ed8b41c3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836247.0755162} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b3286e43-41a4-4546-a456-afd5b4963a43","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836247.075735} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"6981b5a0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:44.734557200Z"}]},"request_id":"5e442b15-9ca4-4676-86e6-5d9c33d0c6d8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836247.0817404} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f1944e906d2e65c75eb7830a716742d1","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"6981b5a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"6981b5a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/87b2b832-7583-4473-a6f0-bb69f12de036'","requestID":"6981b5a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/87b2b832-7583-4473-a6f0-bb69f12de036'","requestID":"6981b5a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"6981b5a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 64ms","method":"POST","requestID":"6981b5a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":64,"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":"f1944e906d2e65c75eb7830a716742d1"} gateway-1 | {"time_local":"28/Aug/2024:09:10:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/07122f39-1366-4fa0-ac1b-c405fff97a25? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.060","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f1944e906d2e65c75eb7830a716742d1"} device-1 | {"level":"info","message":"GET /devices/07122f39-1366-4fa0-ac1b-c405fff97a25? 200 30ms","method":"GET","requestID":"f1944e906d2e65c75eb7830a716742d1","responseTime":30,"status":200,"url":"/devices/07122f39-1366-4fa0-ac1b-c405fff97a25?"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"6981b5a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/87b2b832-7583-4473-a6f0-bb69f12de036","device":"70730e1b-2164-4716-9e8f-595ff963d9f7","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/ce027394-2456-42fa-b100-c195f21236b0"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"e3432c278cbc4a819b3a690b54091bd4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"69905ba0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":50,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:47Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70730e1b-2164-4716-9e8f-595ff963d9f7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c41cc2e6-20e4-4dc5-a7aa-b33574621521","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836247.1350965} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":50,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.280362,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"69905ba0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"69905ba0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"69905ba0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/70730e1b-2164-4716-9e8f-595ff963d9f7/signaling 200 9ms","method":"POST","requestID":"69905ba0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/70730e1b-2164-4716-9e8f-595ff963d9f7/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"69923060-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"device":"70730e1b-2164-4716-9e8f-595ff963d9f7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"70730e1b-2164-4716-9e8f-595ff963d9f7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":51,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:47Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fef0eae2-aba5-48b1-9357-c888e6e63d73","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836247.148198} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":51,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.237917,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"69923060-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","object_type":"device","rebac_allow":false,"scope_allow":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":"69923060-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"content":{"sdp":"v=0\r\no=- 3133973814352911292 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:wdpP\r\na=ice-pwd:8fmJJxJn5C+6dlXFTGayR6Px\r\na=ice-options:trickle\r\na=fingerprint:sha-256 4E:BE:69:27:69:47:2C:89:8F:9D:6F:BA:22:A2:E7:A1:10:28:51:4D:09:62:7A:C5:0D:C6:B3:02:E3:30:36: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":"70730e1b-2164-4716-9e8f-595ff963d9f7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7'"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"69923060-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/07122f39-1366-4fa0-ac1b-c405fff97a25/signaling 200 17ms","method":"POST","requestID":"69923060-651d-11ef-83ce-bd5a3df00b5c","responseTime":17,"status":200,"url":"/devices/07122f39-1366-4fa0-ac1b-c405fff97a25/signaling"} device-1 | {"device":"07122f39-1366-4fa0-ac1b-c405fff97a25","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 | {"device":"07122f39-1366-4fa0-ac1b-c405fff97a25","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":"07122f39-1366-4fa0-ac1b-c405fff97a25","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 | {"data":{"peerconnection":"87b2b832-7583-4473-a6f0-bb69f12de036","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"07122f39-1366-4fa0-ac1b-c405fff97a25","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":"07122f39-1366-4fa0-ac1b-c405fff97a25","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/87b2b832-7583-4473-a6f0-bb69f12de036' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"87b2b832-7583-4473-a6f0-bb69f12de036","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"992a993caf0355cc2a3bce376b41a5b6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"992a993caf0355cc2a3bce376b41a5b6","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/07122f39-1366-4fa0-ac1b-c405fff97a25"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/87b2b832-7583-4473-a6f0-bb69f12de036"}}},"level":"info","message":"received a callback","requestID":"992a993caf0355cc2a3bce376b41a5b6"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 13ms","method":"POST","requestID":"992a993caf0355cc2a3bce376b41a5b6","responseTime":13,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:10:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch","requestID":"992a993caf0355cc2a3bce376b41a5b6"} device-1 | {"content":{"candidate":"candidate:2382105381 1 udp 2113937151 2ce0b786-4917-4d65-acc1-423dc503b2c6.local 45953 typ host generation 0 ufrag wdpP network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"70730e1b-2164-4716-9e8f-595ff963d9f7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3096109416 1 udp 1677729535 141.24.211.56 45953 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag wdpP network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"70730e1b-2164-4716-9e8f-595ff963d9f7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2669740826 1 udp 33562623 141.24.210.113 64294 typ relay raddr 141.24.211.56 rport 45953 generation 0 ufrag wdpP network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"70730e1b-2164-4716-9e8f-595ff963d9f7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"70730e1b-2164-4716-9e8f-595ff963d9f7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"70730e1b-2164-4716-9e8f-595ff963d9f7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"data":{"peerconnection":"87b2b832-7583-4473-a6f0-bb69f12de036","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7'"} device-1 | {"device":"07122f39-1366-4fa0-ac1b-c405fff97a25","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":"07122f39-1366-4fa0-ac1b-c405fff97a25","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":"70730e1b-2164-4716-9e8f-595ff963d9f7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"data":{"peerconnection":"87b2b832-7583-4473-a6f0-bb69f12de036","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/87b2b832-7583-4473-a6f0-bb69f12de036' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"87b2b832-7583-4473-a6f0-bb69f12de036","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9c0312d1afe5c273a5dca81d198acb42","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"9c0312d1afe5c273a5dca81d198acb42","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/07122f39-1366-4fa0-ac1b-c405fff97a25"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/87b2b832-7583-4473-a6f0-bb69f12de036"}}},"level":"info","message":"received a callback","requestID":"9c0312d1afe5c273a5dca81d198acb42"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"6ace59e0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":52,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:49Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F87b2b832-7583-4473-a6f0-bb69f12de036","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8a540ed7-52f9-447e-a814-f3a83782e6f8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836249.2201035} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":52,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.595021,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/87b2b832-7583-4473-a6f0-bb69f12de036","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6ace59e0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/87b2b832-7583-4473-a6f0-bb69f12de036","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":"6ace59e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"6ace59e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/87b2b832-7583-4473-a6f0-bb69f12de036 200 11ms","method":"GET","requestID":"6ace59e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/peerconnections/87b2b832-7583-4473-a6f0-bb69f12de036"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 37ms","method":"POST","requestID":"9c0312d1afe5c273a5dca81d198acb42","responseTime":37,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:10:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.041","http_referrer":"","http_user_agent":"node-fetch","requestID":"9c0312d1afe5c273a5dca81d198acb42"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6ad2c6b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":53,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:49Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"adc66901-4725-4521-a26b-0accb7390e32","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836249.247342} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":53,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.128815,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6ad2c6b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6ad2c6b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6ad2c6b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/07122f39-1366-4fa0-ac1b-c405fff97a25/signaling 200 9ms","method":"POST","requestID":"6ad2c6b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/07122f39-1366-4fa0-ac1b-c405fff97a25/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6ad47460-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":54,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:49Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70730e1b-2164-4716-9e8f-595ff963d9f7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"43bb6627-8fb5-47d2-9102-cdf516e89148","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836249.2589147} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":54,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.471332,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6ad47460-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7","object_type":"device","rebac_allow":false,"scope_allow":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":"6ad47460-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6ad47460-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/70730e1b-2164-4716-9e8f-595ff963d9f7/signaling 200 9ms","method":"POST","requestID":"6ad47460-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/70730e1b-2164-4716-9e8f-595ff963d9f7/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0OX0.xGmxkO3eHPZP3-5wsIoEcW39pvW-xJLy0fHS0iUSfLI","level":"info","message":"auth send jwt","requestID":"2ed4546288235c47f78f9eabec299274"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"2ed4546288235c47f78f9eabec299274","responseTime":7,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/ce027394-2456-42fa-b100-c195f21236b0","requestID":"2ed4546288235c47f78f9eabec299274"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":55,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:49Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":55,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.968102,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/ce027394-2456-42fa-b100-c195f21236b0","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"2ed4546288235c47f78f9eabec299274","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/ce027394-2456-42fa-b100-c195f21236b0","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836249,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0OX0.xGmxkO3eHPZP3-5wsIoEcW39pvW-xJLy0fHS0iUSfLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"2ed4546288235c47f78f9eabec299274","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/ce027394-2456-42fa-b100-c195f21236b0","requestID":"2ed4546288235c47f78f9eabec299274"} gateway-1 | {"time_local":"28/Aug/2024:09:10:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/ce027394-2456-42fa-b100-c195f21236b0 HTTP/1.1","status": "200","body_bytes_sent":"884","request_time":"0.025","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2ed4546288235c47f78f9eabec299274"} experiment-1 | {"level":"info","message":"GET /experiments/ce027394-2456-42fa-b100-c195f21236b0 200 16ms","method":"GET","requestID":"2ed4546288235c47f78f9eabec299274","responseTime":16,"status":200,"url":"/experiments/ce027394-2456-42fa-b100-c195f21236b0"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0OX0.xGmxkO3eHPZP3-5wsIoEcW39pvW-xJLy0fHS0iUSfLI","level":"info","message":"auth send jwt","requestID":"f37d83b32d49d3ef936de4616a78b925"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f37d83b32d49d3ef936de4616a78b925","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/ce027394-2456-42fa-b100-c195f21236b0","requestID":"f37d83b32d49d3ef936de4616a78b925"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":56,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:49Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":56,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.6773,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:49Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/ce027394-2456-42fa-b100-c195f21236b0","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"f37d83b32d49d3ef936de4616a78b925","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/ce027394-2456-42fa-b100-c195f21236b0","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836249,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0OX0.xGmxkO3eHPZP3-5wsIoEcW39pvW-xJLy0fHS0iUSfLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f37d83b32d49d3ef936de4616a78b925","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ce027394-2456-42fa-b100-c195f21236b0"},"level":"info","message":"Attempting to finish experiment","requestID":"f37d83b32d49d3ef936de4616a78b925"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"6aded4a0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":57,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:49Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":57,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.936318,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:49Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/87b2b832-7583-4473-a6f0-bb69f12de036","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6aded4a0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/87b2b832-7583-4473-a6f0-bb69f12de036","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836249,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0OX0.xGmxkO3eHPZP3-5wsIoEcW39pvW-xJLy0fHS0iUSfLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6aded4a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/87b2b832-7583-4473-a6f0-bb69f12de036","device":"70730e1b-2164-4716-9e8f-595ff963d9f7","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"07122f39-1366-4fa0-ac1b-c405fff97a25","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":"07122f39-1366-4fa0-ac1b-c405fff97a25","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":"07122f39-1366-4fa0-ac1b-c405fff97a25","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/87b2b832-7583-4473-a6f0-bb69f12de036' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/87b2b832-7583-4473-a6f0-bb69f12de036' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"87b2b832-7583-4473-a6f0-bb69f12de036","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F87b2b832-7583-4473-a6f0-bb69f12de036': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F87b2b832-7583-4473-a6f0-bb69f12de036","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"ccecafa7-21ae-4f9c-8242-58ec7148d153","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836249.3456686} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"74a01c9ae872fdceec2ae34c82d095a4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4acf20c0-de90-4736-9947-07d7c9bfa215","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836249.3459346} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"6aded4a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/relations/update"} 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/07122f39-1366-4fa0-ac1b-c405fff97a25"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/87b2b832-7583-4473-a6f0-bb69f12de036"}}},"level":"info","message":"received a callback","requestID":"74a01c9ae872fdceec2ae34c82d095a4"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"74a01c9ae872fdceec2ae34c82d095a4","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f7ee3f61e01f3cd27643d54667425a3b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f7ee3f61e01f3cd27643d54667425a3b","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/07122f39-1366-4fa0-ac1b-c405fff97a25"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/87b2b832-7583-4473-a6f0-bb69f12de036"}}},"level":"info","message":"received a callback","requestID":"f7ee3f61e01f3cd27643d54667425a3b"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"6aded4a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/87b2b832-7583-4473-a6f0-bb69f12de036 204 46ms","method":"DELETE","requestID":"6aded4a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":46,"status":204,"url":"/peerconnections/87b2b832-7583-4473-a6f0-bb69f12de036"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/ce027394-2456-42fa-b100-c195f21236b0"},"level":"info","message":"Successfully finished experiment","requestID":"f37d83b32d49d3ef936de4616a78b925"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6ae8e6c0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":58,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:49Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F07122f39-1366-4fa0-ac1b-c405fff97a25","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e5cd69d3-41c6-4ab3-97d1-aee64546a79a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836249.393156} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":58,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.24166,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6ae8e6c0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6ae8e6c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6ae8e6c0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/07122f39-1366-4fa0-ac1b-c405fff97a25/signaling 200 10ms","method":"POST","requestID":"6ae8e6c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/07122f39-1366-4fa0-ac1b-c405fff97a25/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fce027394-2456-42fa-b100-c195f21236b0': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fce027394-2456-42fa-b100-c195f21236b0","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"db1b8fda-aeeb-4a1c-a046-f16ca6398ab6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836249.4019182} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d9d13ea6-5bf5-4303-b523-04496833e861","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836249.4021966} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6aeb09a0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"f37d83b32d49d3ef936de4616a78b925","responseTime":17,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":59,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:49Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F70730e1b-2164-4716-9e8f-595ff963d9f7","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"aab74df3-09c5-4977-91c7-7c6f00bab59f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836249.4090233} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":59,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.431614,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6aeb09a0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6aeb09a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6aeb09a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/70730e1b-2164-4716-9e8f-595ff963d9f7/signaling 200 13ms","method":"POST","requestID":"6aeb09a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/70730e1b-2164-4716-9e8f-595ff963d9f7/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/ce027394-2456-42fa-b100-c195f21236b0","requestID":"f37d83b32d49d3ef936de4616a78b925"} gateway-1 | {"time_local":"28/Aug/2024:09:10:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/ce027394-2456-42fa-b100-c195f21236b0 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.153","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f37d83b32d49d3ef936de4616a78b925"} gateway-1 | {"time_local":"28/Aug/2024:09:10:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2991","request_time":"3.911","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"4c06395c956caa194e9d27bd08098805"} experiment-1 | {"level":"info","message":"DELETE /experiments/ce027394-2456-42fa-b100-c195f21236b0 204 150ms","method":"DELETE","requestID":"f37d83b32d49d3ef936de4616a78b925","responseTime":150,"status":204,"url":"/experiments/ce027394-2456-42fa-b100-c195f21236b0"} device-1 | {"level":"info","message":"postDevices called","requestID":"46ff67d3804130cd96e18086db27e01e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0OX0.xGmxkO3eHPZP3-5wsIoEcW39pvW-xJLy0fHS0iUSfLI","level":"info","message":"auth send jwt","requestID":"46ff67d3804130cd96e18086db27e01e"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"46ff67d3804130cd96e18086db27e01e","responseTime":5,"status":200,"url":"/auth"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/07122f39-1366-4fa0-ac1b-c405fff97a25' closed"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 122ms","method":"POST","requestID":"74a01c9ae872fdceec2ae34c82d095a4","responseTime":122,"status":200,"url":"/callbacks/experiment"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":60,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:49Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":60,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.837345,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:49Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"46ff67d3804130cd96e18086db27e01e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836249,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0OX0.xGmxkO3eHPZP3-5wsIoEcW39pvW-xJLy0fHS0iUSfLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"46ff67d3804130cd96e18086db27e01e","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"28/Aug/2024:09:10:49 +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.689","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"6c0a19da15ab185e10040e87fc812bf3"} gateway-1 | {"time_local":"28/Aug/2024:09:10:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.126","http_referrer":"","http_user_agent":"node-fetch","requestID":"74a01c9ae872fdceec2ae34c82d095a4"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 127ms","method":"POST","requestID":"f7ee3f61e01f3cd27643d54667425a3b","responseTime":127,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:10:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.133","http_referrer":"","http_user_agent":"node-fetch","requestID":"f7ee3f61e01f3cd27643d54667425a3b"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/70730e1b-2164-4716-9e8f-595ff963d9f7' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"c9127154-7681-4c4d-bf4f-3235346919e3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836249.4963703} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"46ff67d3804130cd96e18086db27e01e","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"62ac03ed-473f-4edb-bcac-85f72e2b2a4a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836249.5018435} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"46ff67d3804130cd96e18086db27e01e","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"329ac023-3e17-43a8-b42e-71cb3b760287","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836249.513085} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cd24ce97-14bd-446d-b44f-28eefdb0a3a9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836249.513293} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"46ff67d3804130cd96e18086db27e01e","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:49.513067418Z"}]},"request_id":"f50c3902-ea08-4696-9261-2f89e33c704c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836249.5195343} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"46ff67d3804130cd96e18086db27e01e","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"46ff67d3804130cd96e18086db27e01e"} gateway-1 | {"time_local":"28/Aug/2024:09:10:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.068","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"46ff67d3804130cd96e18086db27e01e"} device-1 | {"level":"info","message":"POST /devices? 201 61ms","method":"POST","requestID":"46ff67d3804130cd96e18086db27e01e","responseTime":61,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0OX0.xGmxkO3eHPZP3-5wsIoEcW39pvW-xJLy0fHS0iUSfLI","level":"info","message":"auth send jwt","requestID":"6ef5af51a24becbe4c17db0df1aab586"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6ef5af51a24becbe4c17db0df1aab586","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"6ef5af51a24becbe4c17db0df1aab586"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":61,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:49Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":61,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.676836,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:49Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6ef5af51a24becbe4c17db0df1aab586","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836249,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI0OX0.xGmxkO3eHPZP3-5wsIoEcW39pvW-xJLy0fHS0iUSfLI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6ef5af51a24becbe4c17db0df1aab586","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57bc4e93-6bd4-4344-8358-33e817a30847","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"1e045823-1400-46e7-800f-19e5732ae554","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836249.5589433} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6ef5af51a24becbe4c17db0df1aab586","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e8e76d83-e77d-47f9-bc20-30898a0c79f7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836249.564275} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"6ef5af51a24becbe4c17db0df1aab586","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57bc4e93-6bd4-4344-8358-33e817a30847","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"fc421662-03b5-43e0-aa1b-f5403f9126b8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836249.575343} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a160d734-5187-4c4c-8203-3f20e8821277","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836249.575813} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"6ef5af51a24becbe4c17db0df1aab586","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57bc4e93-6bd4-4344-8358-33e817a30847","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57bc4e93-6bd4-4344-8358-33e817a30847","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:49.575330338Z"}]},"request_id":"0d3730cc-1139-4dfb-b943-853934c4e590","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836249.5831497} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6ef5af51a24becbe4c17db0df1aab586","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"6ef5af51a24becbe4c17db0df1aab586"} gateway-1 | {"time_local":"28/Aug/2024:09:10:49 +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":"6ef5af51a24becbe4c17db0df1aab586"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"6ef5af51a24becbe4c17db0df1aab586","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MH0.RKEJv3dhKnSLylWC-uENsI9oGV4DVwFpQLo-S0YlrMk","level":"info","message":"auth send jwt","requestID":"0c695d711f619a22574ca6d9e024af30"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0c695d711f619a22574ca6d9e024af30","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"0c695d711f619a22574ca6d9e024af30"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":62,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:50Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":62,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.835996,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:50Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"0c695d711f619a22574ca6d9e024af30","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836250,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MH0.RKEJv3dhKnSLylWC-uENsI9oGV4DVwFpQLo-S0YlrMk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0c695d711f619a22574ca6d9e024af30","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:49.513067418Z"}]},"request_id":"cc2b602f-15ab-47bc-9809-2223fb4af03c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836250.1866014} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0c695d711f619a22574ca6d9e024af30","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6e711dd3-5a4c-45a6-9af9-55b1540c20f0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836250.191715} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"0c695d711f619a22574ca6d9e024af30","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:49.513067418Z"}]},"request_id":"01c260e1-2571-4450-8b28-3cae547939c3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836250.211657} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0c695d711f619a22574ca6d9e024af30","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"0c695d711f619a22574ca6d9e024af30"} gateway-1 | {"time_local":"28/Aug/2024:09:10:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/26678620-4b8d-4d78-81d9-129f70f02731 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.042","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"0c695d711f619a22574ca6d9e024af30"} device-1 | {"level":"info","message":"PATCH /devices/26678620-4b8d-4d78-81d9-129f70f02731 200 37ms","method":"PATCH","requestID":"0c695d711f619a22574ca6d9e024af30","responseTime":37,"status":200,"url":"/devices/26678620-4b8d-4d78-81d9-129f70f02731"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MH0.RKEJv3dhKnSLylWC-uENsI9oGV4DVwFpQLo-S0YlrMk","level":"info","message":"auth send jwt","requestID":"1f26cddf4b9aa71f412974e1184348ab"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1f26cddf4b9aa71f412974e1184348ab","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"1f26cddf4b9aa71f412974e1184348ab"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":63,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:50Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":63,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.872368,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:50Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"1f26cddf4b9aa71f412974e1184348ab","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836250,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MH0.RKEJv3dhKnSLylWC-uENsI9oGV4DVwFpQLo-S0YlrMk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1f26cddf4b9aa71f412974e1184348ab","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"1f26cddf4b9aa71f412974e1184348ab"} gateway-1 | {"time_local":"28/Aug/2024:09:10:50 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/26678620-4b8d-4d78-81d9-129f70f02731/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":"1f26cddf4b9aa71f412974e1184348ab"} device-1 | {"level":"info","message":"POST /devices/26678620-4b8d-4d78-81d9-129f70f02731/websocket 200 22ms","method":"POST","requestID":"1f26cddf4b9aa71f412974e1184348ab","responseTime":22,"status":200,"url":"/devices/26678620-4b8d-4d78-81d9-129f70f02731/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e9b40628a4a32cc4e5732f54be59f336","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"e9b40628a4a32cc4e5732f54be59f336","responseTime":0,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:10:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/57bc4e93-6bd4-4344-8358-33e817a30847/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":"e9b40628a4a32cc4e5732f54be59f336"} device-1 | {"level":"info","message":"OPTIONS /devices/57bc4e93-6bd4-4344-8358-33e817a30847/websocket 200 1ms","method":"OPTIONS","requestID":"e9b40628a4a32cc4e5732f54be59f336","responseTime":1,"status":200,"url":"/devices/57bc4e93-6bd4-4344-8358-33e817a30847/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MX0.NUcuJjyHb4BfKiHeEUgEAsSlHlptdu4M-ZjvWAX50Ho","level":"info","message":"auth send jwt","requestID":"9c1680f056a17316ab7f40488dd9ef7d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9c1680f056a17316ab7f40488dd9ef7d","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"9c1680f056a17316ab7f40488dd9ef7d"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":64,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":64,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.69976,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9c1680f056a17316ab7f40488dd9ef7d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836251,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MX0.NUcuJjyHb4BfKiHeEUgEAsSlHlptdu4M-ZjvWAX50Ho"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9c1680f056a17316ab7f40488dd9ef7d","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"9c1680f056a17316ab7f40488dd9ef7d"} device-1 | {"level":"info","message":"POST /devices/57bc4e93-6bd4-4344-8358-33e817a30847/websocket 200 30ms","method":"POST","requestID":"9c1680f056a17316ab7f40488dd9ef7d","responseTime":30,"status":200,"url":"/devices/57bc4e93-6bd4-4344-8358-33e817a30847/websocket"} gateway-1 | {"time_local":"28/Aug/2024:09:10:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/57bc4e93-6bd4-4344-8358-33e817a30847/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":"9c1680f056a17316ab7f40488dd9ef7d"} device-1 | {"level":"info","message":"device 'http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MX0.NUcuJjyHb4BfKiHeEUgEAsSlHlptdu4M-ZjvWAX50Ho","level":"info","message":"auth send jwt","requestID":"76e08ffcea9183563f607fae0675af11"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"76e08ffcea9183563f607fae0675af11","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"76e08ffcea9183563f607fae0675af11"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":65,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":65,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.991332,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"76e08ffcea9183563f607fae0675af11","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836251,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MX0.NUcuJjyHb4BfKiHeEUgEAsSlHlptdu4M-ZjvWAX50Ho"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"76e08ffcea9183563f607fae0675af11","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:49.513067418Z"}]},"request_id":"6a06f3bf-05fc-4f5d-aa26-82a5e291091d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836251.5772429} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"76e08ffcea9183563f607fae0675af11","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"76e08ffcea9183563f607fae0675af11"} gateway-1 | {"time_local":"28/Aug/2024:09:10:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/26678620-4b8d-4d78-81d9-129f70f02731? 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":"76e08ffcea9183563f607fae0675af11"} device-1 | {"level":"info","message":"GET /devices/26678620-4b8d-4d78-81d9-129f70f02731? 200 12ms","method":"GET","requestID":"76e08ffcea9183563f607fae0675af11","responseTime":12,"status":200,"url":"/devices/26678620-4b8d-4d78-81d9-129f70f02731?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MX0.NUcuJjyHb4BfKiHeEUgEAsSlHlptdu4M-ZjvWAX50Ho","level":"info","message":"auth send jwt","requestID":"0069ef90cfd96032daad2c3841a9dedf"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0069ef90cfd96032daad2c3841a9dedf","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0069ef90cfd96032daad2c3841a9dedf"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":66,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":66,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.761965,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"0069ef90cfd96032daad2c3841a9dedf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836251,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MX0.NUcuJjyHb4BfKiHeEUgEAsSlHlptdu4M-ZjvWAX50Ho"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0069ef90cfd96032daad2c3841a9dedf","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57bc4e93-6bd4-4344-8358-33e817a30847","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57bc4e93-6bd4-4344-8358-33e817a30847","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:49.575330338Z"}]},"request_id":"a964708b-4759-4d3b-b521-e25ace2e39cd","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836251.5944307} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0069ef90cfd96032daad2c3841a9dedf","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0069ef90cfd96032daad2c3841a9dedf"} gateway-1 | {"time_local":"28/Aug/2024:09:10:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/57bc4e93-6bd4-4344-8358-33e817a30847? 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":"0069ef90cfd96032daad2c3841a9dedf"} device-1 | {"level":"info","message":"GET /devices/57bc4e93-6bd4-4344-8358-33e817a30847? 200 13ms","method":"GET","requestID":"0069ef90cfd96032daad2c3841a9dedf","responseTime":13,"status":200,"url":"/devices/57bc4e93-6bd4-4344-8358-33e817a30847?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MX0.NUcuJjyHb4BfKiHeEUgEAsSlHlptdu4M-ZjvWAX50Ho","level":"info","message":"auth send jwt","requestID":"a2c8f213d2ca619444f4cbb118361c44"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a2c8f213d2ca619444f4cbb118361c44","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"a2c8f213d2ca619444f4cbb118361c44"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":67,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":67,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.704867,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a2c8f213d2ca619444f4cbb118361c44","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836251,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MX0.NUcuJjyHb4BfKiHeEUgEAsSlHlptdu4M-ZjvWAX50Ho"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a2c8f213d2ca619444f4cbb118361c44","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308"},"level":"info","message":"Attempting to run experiment","requestID":"a2c8f213d2ca619444f4cbb118361c44"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308"},"level":"info","message":"Attempting to book experiment","requestID":"a2c8f213d2ca619444f4cbb118361c44"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308"},"level":"info","message":"Successfully booked experiment","requestID":"a2c8f213d2ca619444f4cbb118361c44"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6c414ad0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6c4198f0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":68,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":68,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.04538,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":69,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6c414ad0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836251,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MX0.NUcuJjyHb4BfKiHeEUgEAsSlHlptdu4M-ZjvWAX50Ho"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6c414ad0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":69,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.828796,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6c4198f0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836251,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MX0.NUcuJjyHb4BfKiHeEUgEAsSlHlptdu4M-ZjvWAX50Ho"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6c4198f0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:49.513067418Z"}]},"request_id":"b16ec4d9-a5fa-4979-8a08-7f5915d818f7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836251.6555645} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6c414ad0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57bc4e93-6bd4-4344-8358-33e817a30847","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57bc4e93-6bd4-4344-8358-33e817a30847","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:49.575330338Z"}]},"request_id":"f00cb4b5-599f-442d-968d-afe857f4a5ec","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836251.656599} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6c4198f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6c414ad0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/26678620-4b8d-4d78-81d9-129f70f02731? 200 18ms","method":"GET","requestID":"6c414ad0-651d-11ef-83ce-bd5a3df00b5c","responseTime":18,"status":200,"url":"/devices/26678620-4b8d-4d78-81d9-129f70f02731?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6c4198f0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/57bc4e93-6bd4-4344-8358-33e817a30847? 200 17ms","method":"GET","requestID":"6c4198f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":17,"status":200,"url":"/devices/57bc4e93-6bd4-4344-8358-33e817a30847?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308"},"level":"info","message":"Setting up experiment","requestID":"a2c8f213d2ca619444f4cbb118361c44"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"a2c8f213d2ca619444f4cbb118361c44"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308"},"level":"info","message":"Successfully locked booking for experiment","requestID":"a2c8f213d2ca619444f4cbb118361c44"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"a2c8f213d2ca619444f4cbb118361c44"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"a2c8f213d2ca619444f4cbb118361c44"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308"},"level":"info","message":"Attempting to update booking for experiment","requestID":"a2c8f213d2ca619444f4cbb118361c44"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308"},"level":"info","message":"Successfully updated booking for experiment","requestID":"a2c8f213d2ca619444f4cbb118361c44"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308"},"level":"info","message":"Successfully set up experiment","requestID":"a2c8f213d2ca619444f4cbb118361c44"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6c4b35e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6c4b8400-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6c4bab10-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308"},"level":"info","message":"Successfully running experiment","requestID":"a2c8f213d2ca619444f4cbb118361c44"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":70,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":70,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.925878,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":71,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6c4b35e0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836251,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MX0.NUcuJjyHb4BfKiHeEUgEAsSlHlptdu4M-ZjvWAX50Ho"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6c4b35e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":71,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.841919,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":72,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6c4b8400-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836251,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MX0.NUcuJjyHb4BfKiHeEUgEAsSlHlptdu4M-ZjvWAX50Ho"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6c4b8400-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":72,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.669143,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"eb9a1ff2-6fff-4e42-8723-db4c02f194a5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836251.7199602} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6c4bab10-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6c4bab10-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57bc4e93-6bd4-4344-8358-33e817a30847","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57bc4e93-6bd4-4344-8358-33e817a30847","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:49.575330338Z"}]},"request_id":"c7e243aa-6654-48f3-ade1-21bcd48c7915","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836251.7247422} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6c4bab10-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6c4b8400-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"POST /devices/26678620-4b8d-4d78-81d9-129f70f02731/signaling 200 13ms","method":"POST","requestID":"6c4bab10-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/26678620-4b8d-4d78-81d9-129f70f02731/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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:49.513067418Z"}]},"request_id":"0887795f-7200-40c4-bc06-288ea31c6b07","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836251.7257376} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6c4b35e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6c4e6a30-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":73,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:51Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6c4b8400-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/57bc4e93-6bd4-4344-8358-33e817a30847? 200 23ms","method":"GET","requestID":"6c4b8400-651d-11ef-83ce-bd5a3df00b5c","responseTime":23,"status":200,"url":"/devices/57bc4e93-6bd4-4344-8358-33e817a30847?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6c4b35e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/26678620-4b8d-4d78-81d9-129f70f02731? 200 27ms","method":"GET","requestID":"6c4b35e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":27,"status":200,"url":"/devices/26678620-4b8d-4d78-81d9-129f70f02731?"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57bc4e93-6bd4-4344-8358-33e817a30847","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"98f38775-1afa-4ce0-a10c-42d5737db52e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836251.7364097} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":73,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.476445,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6c4e6a30-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847","object_type":"device","rebac_allow":false,"scope_allow":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":"6c4e6a30-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8ebb938a-83ba-4710-9d2d-4ff195bc5308#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8ebb938a-83ba-4710-9d2d-4ff195bc5308","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"1617c74f-394f-4fe3-83e3-37a0bda66b58","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836251.7385528} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6c4fc9c0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"07b608c3-2443-4132-aa20-0b3c44694dbe","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836251.7393825} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":74,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:51Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6c4e6a30-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/57bc4e93-6bd4-4344-8358-33e817a30847/signaling 200 15ms","method":"POST","requestID":"6c4e6a30-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/devices/57bc4e93-6bd4-4344-8358-33e817a30847/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 28ms","method":"POST","requestID":"a2c8f213d2ca619444f4cbb118361c44","responseTime":28,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3d9e1e46-0c8d-48ff-8ddf-abfd9eec27dd","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836251.7461088} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":74,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.812212,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6c4fc9c0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","object_type":"device","rebac_allow":false,"scope_allow":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":"6c4fc9c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6c4fc9c0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/26678620-4b8d-4d78-81d9-129f70f02731/signaling 200 12ms","method":"POST","requestID":"6c4fc9c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/26678620-4b8d-4d78-81d9-129f70f02731/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"a2c8f213d2ca619444f4cbb118361c44"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6c5213b0-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"level":"info","message":"POST /experiments? 201 150ms","method":"POST","requestID":"a2c8f213d2ca619444f4cbb118361c44","responseTime":150,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"28/Aug/2024:09:10:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"811","request_time":"0.155","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a2c8f213d2ca619444f4cbb118361c44"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":75,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57bc4e93-6bd4-4344-8358-33e817a30847","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b4b45c54-c362-498d-8a83-21cb10ed318b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836251.7606108} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":75,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.346286,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:51Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MX0.NUcuJjyHb4BfKiHeEUgEAsSlHlptdu4M-ZjvWAX50Ho","level":"info","message":"auth send jwt","requestID":"0d42b9ac86350ed8fbdcfa3519857ba1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0d42b9ac86350ed8fbdcfa3519857ba1","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6c5213b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847","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":"0d42b9ac86350ed8fbdcfa3519857ba1"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6c5213b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":76,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:51Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6c5213b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":76,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.919178,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:51Z"} device-1 | {"level":"info","message":"POST /devices/57bc4e93-6bd4-4344-8358-33e817a30847/signaling 200 11ms","method":"POST","requestID":"6c5213b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/57bc4e93-6bd4-4344-8358-33e817a30847/signaling"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"0d42b9ac86350ed8fbdcfa3519857ba1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836251,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MX0.NUcuJjyHb4BfKiHeEUgEAsSlHlptdu4M-ZjvWAX50Ho"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0d42b9ac86350ed8fbdcfa3519857ba1","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"a2c8f213d2ca619444f4cbb118361c44"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308"},"level":"info","message":"Building connection plan","requestID":"a2c8f213d2ca619444f4cbb118361c44"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"8a49d8de-aac6-4f12-b475-ce4297981fc0"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"db81b03a-9a6e-4771-a9b5-c5317592e438"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"b0704cf5-c149-4055-94a5-b77f07300036"}]},"level":"info","message":"Built pairwise service configurations","requestID":"a2c8f213d2ca619444f4cbb118361c44"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"a2c8f213d2ca619444f4cbb118361c44"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"6c545da0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:49.513067418Z"}]},"request_id":"c6481695-b570-46c2-80d0-9c9b8f9e361e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836251.7713318} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0d42b9ac86350ed8fbdcfa3519857ba1","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":77,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":77,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.758506,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:51Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0d42b9ac86350ed8fbdcfa3519857ba1"} gateway-1 | {"time_local":"28/Aug/2024:09:10:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/26678620-4b8d-4d78-81d9-129f70f02731? 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":"0d42b9ac86350ed8fbdcfa3519857ba1"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6c545da0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836251,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MX0.NUcuJjyHb4BfKiHeEUgEAsSlHlptdu4M-ZjvWAX50Ho"} device-1 | {"level":"info","message":"GET /devices/26678620-4b8d-4d78-81d9-129f70f02731? 200 13ms","method":"GET","requestID":"0d42b9ac86350ed8fbdcfa3519857ba1","responseTime":13,"status":200,"url":"/devices/26678620-4b8d-4d78-81d9-129f70f02731?"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6c545da0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MX0.NUcuJjyHb4BfKiHeEUgEAsSlHlptdu4M-ZjvWAX50Ho","level":"info","message":"auth send jwt","requestID":"2922e4d984dfed0380b8d27b541a5ce9"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"2922e4d984dfed0380b8d27b541a5ce9","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2922e4d984dfed0380b8d27b541a5ce9"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":78,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":78,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.683964,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"2922e4d984dfed0380b8d27b541a5ce9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836251,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1MX0.NUcuJjyHb4BfKiHeEUgEAsSlHlptdu4M-ZjvWAX50Ho"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2922e4d984dfed0380b8d27b541a5ce9","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"3f5a2309-6398-4cbc-935b-1cd7ac876c81","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836251.7863593} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"33549311-2713-49c0-adff-5648c4cbb76b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836251.7867272} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"6c545da0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57bc4e93-6bd4-4344-8358-33e817a30847","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57bc4e93-6bd4-4344-8358-33e817a30847","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:49.575330338Z"}]},"request_id":"41c14032-c8fd-4e5b-8029-b975ad387096","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836251.791168} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2922e4d984dfed0380b8d27b541a5ce9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"6c545da0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"6c545da0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/5e63c92d-d68d-494a-a142-27b72b64844b'","requestID":"6c545da0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/5e63c92d-d68d-494a-a142-27b72b64844b'","requestID":"6c545da0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"6c545da0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 33ms","method":"POST","requestID":"6c545da0-651d-11ef-83ce-bd5a3df00b5c","responseTime":33,"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":"2922e4d984dfed0380b8d27b541a5ce9"} gateway-1 | {"time_local":"28/Aug/2024:09:10:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/57bc4e93-6bd4-4344-8358-33e817a30847? 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":"2922e4d984dfed0380b8d27b541a5ce9"} device-1 | {"level":"info","message":"GET /devices/57bc4e93-6bd4-4344-8358-33e817a30847? 200 22ms","method":"GET","requestID":"2922e4d984dfed0380b8d27b541a5ce9","responseTime":22,"status":200,"url":"/devices/57bc4e93-6bd4-4344-8358-33e817a30847?"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"6c545da0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/5e63c92d-d68d-494a-a142-27b72b64844b","device":"57bc4e93-6bd4-4344-8358-33e817a30847","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/8ebb938a-83ba-4710-9d2d-4ff195bc5308"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"a2c8f213d2ca619444f4cbb118361c44"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6c5f3310-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":79,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:51Z"} device-1 | {"device":"57bc4e93-6bd4-4344-8358-33e817a30847","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"57bc4e93-6bd4-4344-8358-33e817a30847","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"729cddcc-eb71-4db8-8c5c-30a7207ad19e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836251.8463407} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":79,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.318742,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6c5f3310-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6c5f3310-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"content":{"sdp":"v=0\r\no=- 1597096741059893034 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:PJPv\r\na=ice-pwd:ivAGqaO1yg2tjaDPNAxz0p6c\r\na=ice-options:trickle\r\na=fingerprint:sha-256 60:49:D0:9F:87:B3:53:4E:08:5E:D8:DF:54:B0:B7:CC:99:70:71:A0:72:0B:FB:E2:3C:63:74:33:A0:67:7E:3F\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"57bc4e93-6bd4-4344-8358-33e817a30847","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847'"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6c5f3310-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/26678620-4b8d-4d78-81d9-129f70f02731/signaling 200 15ms","method":"POST","requestID":"6c5f3310-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/devices/26678620-4b8d-4d78-81d9-129f70f02731/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6c61f230-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":80,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57bc4e93-6bd4-4344-8358-33e817a30847","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"41390e6c-626c-40f7-bd2b-c1288b166db7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836251.8631017} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":80,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.117398,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:51Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6c61f230-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6c61f230-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6c61f230-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/57bc4e93-6bd4-4344-8358-33e817a30847/signaling 200 11ms","method":"POST","requestID":"6c61f230-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/57bc4e93-6bd4-4344-8358-33e817a30847/signaling"} device-1 | {"device":"57bc4e93-6bd4-4344-8358-33e817a30847","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"26678620-4b8d-4d78-81d9-129f70f02731","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":"5e63c92d-d68d-494a-a142-27b72b64844b","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"26678620-4b8d-4d78-81d9-129f70f02731","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":"26678620-4b8d-4d78-81d9-129f70f02731","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":"26678620-4b8d-4d78-81d9-129f70f02731","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":"26678620-4b8d-4d78-81d9-129f70f02731","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/5e63c92d-d68d-494a-a142-27b72b64844b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"5e63c92d-d68d-494a-a142-27b72b64844b","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9efe930ba40ff665f47eec3ad8eb66f0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"9efe930ba40ff665f47eec3ad8eb66f0","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/26678620-4b8d-4d78-81d9-129f70f02731"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/5e63c92d-d68d-494a-a142-27b72b64844b"}}},"level":"info","message":"received a callback","requestID":"9efe930ba40ff665f47eec3ad8eb66f0"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 7ms","method":"POST","requestID":"9efe930ba40ff665f47eec3ad8eb66f0","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:10:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.010","http_referrer":"","http_user_agent":"node-fetch","requestID":"9efe930ba40ff665f47eec3ad8eb66f0"} device-1 | {"content":{"candidate":"candidate:1251354034 1 udp 2113937151 00d1a5e5-a047-4f59-8e62-866cb7185127.local 59942 typ host generation 0 ufrag PJPv network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"57bc4e93-6bd4-4344-8358-33e817a30847","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1120824949 1 udp 1677729535 141.24.211.56 59942 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag PJPv network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"57bc4e93-6bd4-4344-8358-33e817a30847","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:4242724231 1 udp 33562623 141.24.210.113 64893 typ relay raddr 141.24.211.56 rport 59942 generation 0 ufrag PJPv network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"57bc4e93-6bd4-4344-8358-33e817a30847","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/57bc4e93-6bd4-4344-8358-33e817a30847'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847'"} device-1 | {"device":"26678620-4b8d-4d78-81d9-129f70f02731","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":"57bc4e93-6bd4-4344-8358-33e817a30847","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"data":{"peerconnection":"5e63c92d-d68d-494a-a142-27b72b64844b","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"57bc4e93-6bd4-4344-8358-33e817a30847","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"26678620-4b8d-4d78-81d9-129f70f02731","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":"5e63c92d-d68d-494a-a142-27b72b64844b","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/5e63c92d-d68d-494a-a142-27b72b64844b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"5e63c92d-d68d-494a-a142-27b72b64844b","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"73b65115084259dbb2d581b575e6a4e7","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"73b65115084259dbb2d581b575e6a4e7","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/26678620-4b8d-4d78-81d9-129f70f02731"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/5e63c92d-d68d-494a-a142-27b72b64844b"}}},"level":"info","message":"received a callback","requestID":"73b65115084259dbb2d581b575e6a4e7"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"6d9939b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":81,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:53Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F5e63c92d-d68d-494a-a142-27b72b64844b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4eda6d1e-4d1e-47c3-89eb-5165c35c8cde","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836253.905378} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":81,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.576468,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/5e63c92d-d68d-494a-a142-27b72b64844b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6d9939b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/5e63c92d-d68d-494a-a142-27b72b64844b","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":"6d9939b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"6d9939b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/5e63c92d-d68d-494a-a142-27b72b64844b 200 11ms","method":"GET","requestID":"6d9939b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/peerconnections/5e63c92d-d68d-494a-a142-27b72b64844b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 37ms","method":"POST","requestID":"73b65115084259dbb2d581b575e6a4e7","responseTime":37,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:10: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.041","http_referrer":"","http_user_agent":"node-fetch","requestID":"73b65115084259dbb2d581b575e6a4e7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6d9dcd90-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":82,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:53Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"74260f5f-b8ee-49ca-9b18-e07c5d1b9bb0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836253.9339626} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":82,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.167187,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6d9dcd90-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6d9dcd90-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6d9dcd90-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/26678620-4b8d-4d78-81d9-129f70f02731/signaling 200 9ms","method":"POST","requestID":"6d9dcd90-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/26678620-4b8d-4d78-81d9-129f70f02731/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6d9f7b40-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":83,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:53Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57bc4e93-6bd4-4344-8358-33e817a30847","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d2cfca3c-3a50-4fff-a0d6-65fc5f6eb2ee","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836253.945484} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":83,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.981267,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6d9f7b40-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6d9f7b40-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6d9f7b40-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/57bc4e93-6bd4-4344-8358-33e817a30847/signaling 200 10ms","method":"POST","requestID":"6d9f7b40-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/57bc4e93-6bd4-4344-8358-33e817a30847/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1M30.rGV-rofhTtGOq8ae1mPcCw1TOZYFKIrB4jtUomiTaZs","level":"info","message":"auth send jwt","requestID":"ca1f18dd30d865d2db6d8b16f6cb4d7a"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"ca1f18dd30d865d2db6d8b16f6cb4d7a","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308","requestID":"ca1f18dd30d865d2db6d8b16f6cb4d7a"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":84,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:53Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":84,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.029197,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ca1f18dd30d865d2db6d8b16f6cb4d7a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836253,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1M30.rGV-rofhTtGOq8ae1mPcCw1TOZYFKIrB4jtUomiTaZs"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ca1f18dd30d865d2db6d8b16f6cb4d7a","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308","requestID":"ca1f18dd30d865d2db6d8b16f6cb4d7a"} gateway-1 | {"time_local":"28/Aug/2024:09:10:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308 HTTP/1.1","status": "200","body_bytes_sent":"884","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ca1f18dd30d865d2db6d8b16f6cb4d7a"} experiment-1 | {"level":"info","message":"GET /experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308 200 15ms","method":"GET","requestID":"ca1f18dd30d865d2db6d8b16f6cb4d7a","responseTime":15,"status":200,"url":"/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1M30.rGV-rofhTtGOq8ae1mPcCw1TOZYFKIrB4jtUomiTaZs","level":"info","message":"auth send jwt","requestID":"e463852a023930439fbac9defcf453b5"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e463852a023930439fbac9defcf453b5","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308","requestID":"e463852a023930439fbac9defcf453b5"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":85,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:53Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":85,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.695282,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:53Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"e463852a023930439fbac9defcf453b5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836253,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1M30.rGV-rofhTtGOq8ae1mPcCw1TOZYFKIrB4jtUomiTaZs"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e463852a023930439fbac9defcf453b5","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308"},"level":"info","message":"Attempting to finish experiment","requestID":"e463852a023930439fbac9defcf453b5"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"6da87bf0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":86,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":86,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.665859,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/5e63c92d-d68d-494a-a142-27b72b64844b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6da87bf0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/5e63c92d-d68d-494a-a142-27b72b64844b","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836253,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1M30.rGV-rofhTtGOq8ae1mPcCw1TOZYFKIrB4jtUomiTaZs"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"6da87bf0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/5e63c92d-d68d-494a-a142-27b72b64844b","device":"57bc4e93-6bd4-4344-8358-33e817a30847","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"26678620-4b8d-4d78-81d9-129f70f02731","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":"26678620-4b8d-4d78-81d9-129f70f02731","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":"26678620-4b8d-4d78-81d9-129f70f02731","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/5e63c92d-d68d-494a-a142-27b72b64844b' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/5e63c92d-d68d-494a-a142-27b72b64844b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"5e63c92d-d68d-494a-a142-27b72b64844b","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"34ed94b6f8bf4c415b7c593fb57d39dc","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"34ed94b6f8bf4c415b7c593fb57d39dc","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e2eaba4e5cbc2b632bd68ac49a6f7017","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"e2eaba4e5cbc2b632bd68ac49a6f7017","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/26678620-4b8d-4d78-81d9-129f70f02731"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/5e63c92d-d68d-494a-a142-27b72b64844b"}}},"level":"info","message":"received a callback","requestID":"34ed94b6f8bf4c415b7c593fb57d39dc"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"aab842e5-427f-421e-8ebb-808ee3d5da4d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.0183022} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F5e63c92d-d68d-494a-a142-27b72b64844b': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F5e63c92d-d68d-494a-a142-27b72b64844b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"210865ed-6ae7-4d15-ada1-ba2969c8923c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.0186906} 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/26678620-4b8d-4d78-81d9-129f70f02731"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/5e63c92d-d68d-494a-a142-27b72b64844b"}}},"level":"info","message":"received a callback","requestID":"e2eaba4e5cbc2b632bd68ac49a6f7017"} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"6da87bf0-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"5e63c92d-d68d-494a-a142-27b72b64844b","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"6da87bf0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/5e63c92d-d68d-494a-a142-27b72b64844b 204 34ms","method":"DELETE","requestID":"6da87bf0-651d-11ef-83ce-bd5a3df00b5c","responseTime":34,"status":204,"url":"/peerconnections/5e63c92d-d68d-494a-a142-27b72b64844b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308"},"level":"info","message":"Successfully finished experiment","requestID":"e463852a023930439fbac9defcf453b5"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6daff600-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":87,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F26678620-4b8d-4d78-81d9-129f70f02731","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5fcf8baf-b484-4ff3-b1c8-a480fc6be8b8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.0525672} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":87,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.348024,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6daff600-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6daff600-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6daff600-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/26678620-4b8d-4d78-81d9-129f70f02731/signaling 200 11ms","method":"POST","requestID":"6daff600-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/26678620-4b8d-4d78-81d9-129f70f02731/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8ebb938a-83ba-4710-9d2d-4ff195bc5308': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F8ebb938a-83ba-4710-9d2d-4ff195bc5308","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"8130372c-8a72-4d13-b5ab-3793d180b0e6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.0621574} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6db218e0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ae8a8d21-36cd-49f2-8e24-9740ae2c42ad","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.0627277} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"e463852a023930439fbac9defcf453b5","responseTime":17,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":88,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F57bc4e93-6bd4-4344-8358-33e817a30847","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f4f6d6df-7c0c-4613-add5-38afa5b745ec","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.0683298} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":88,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.419195,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6db218e0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6db218e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6db218e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/57bc4e93-6bd4-4344-8358-33e817a30847/signaling 200 11ms","method":"POST","requestID":"6db218e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/57bc4e93-6bd4-4344-8358-33e817a30847/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308","requestID":"e463852a023930439fbac9defcf453b5"} gateway-1 | {"time_local":"28/Aug/2024:09:10:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.143","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e463852a023930439fbac9defcf453b5"} experiment-1 | {"level":"info","message":"DELETE /experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308 204 142ms","method":"DELETE","requestID":"e463852a023930439fbac9defcf453b5","responseTime":142,"status":204,"url":"/experiments/8ebb938a-83ba-4710-9d2d-4ff195bc5308"} gateway-1 | {"time_local":"28/Aug/2024:09:10:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2991","request_time":"3.887","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"4538cb42bd9513b6729b946e2588eca5"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 115ms","method":"POST","requestID":"34ed94b6f8bf4c415b7c593fb57d39dc","responseTime":115,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:10:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.118","http_referrer":"","http_user_agent":"node-fetch","requestID":"34ed94b6f8bf4c415b7c593fb57d39dc"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 114ms","method":"POST","requestID":"e2eaba4e5cbc2b632bd68ac49a6f7017","responseTime":114,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:10:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.119","http_referrer":"","http_user_agent":"node-fetch","requestID":"e2eaba4e5cbc2b632bd68ac49a6f7017"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k","level":"info","message":"auth send jwt","requestID":"aa595988f61d572d92226f0017604ea4"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"aa595988f61d572d92226f0017604ea4","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"aa595988f61d572d92226f0017604ea4"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":89,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:54Z"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/26678620-4b8d-4d78-81d9-129f70f02731' closed"} gateway-1 | {"time_local":"28/Aug/2024:09:10:54 +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.587","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d915d552bed00fc27543e475a8fe1e4f"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":89,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.40696,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"aa595988f61d572d92226f0017604ea4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836254,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"aa595988f61d572d92226f0017604ea4","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/57bc4e93-6bd4-4344-8358-33e817a30847' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"1be0f218-7aa8-40df-9ed5-b026bb0b5f12","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.161339} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"aa595988f61d572d92226f0017604ea4","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d5bccf9e-e5e3-4a15-81c6-23e6b5efbfe3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.1674016} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"aa595988f61d572d92226f0017604ea4","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"80977b57-5e69-4b53-8218-5afc3197c2ed","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.1834183} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a6c09098-9ae6-40b6-bf40-f1b764c47083","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.1836698} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"aa595988f61d572d92226f0017604ea4","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:54.183403406Z"}]},"request_id":"1f475829-8984-4db8-8284-1ecfa9494a07","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.1890655} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"aa595988f61d572d92226f0017604ea4","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"aa595988f61d572d92226f0017604ea4"} gateway-1 | {"time_local":"28/Aug/2024:09:10:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.060","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"aa595988f61d572d92226f0017604ea4"} device-1 | {"level":"info","message":"POST /devices? 201 54ms","method":"POST","requestID":"aa595988f61d572d92226f0017604ea4","responseTime":54,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k","level":"info","message":"auth send jwt","requestID":"086ffd353b25ca4b5646a4d11ac48572"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"086ffd353b25ca4b5646a4d11ac48572","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"086ffd353b25ca4b5646a4d11ac48572"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":90,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":90,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.72906,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"086ffd353b25ca4b5646a4d11ac48572","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836254,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"086ffd353b25ca4b5646a4d11ac48572","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"05fcc5e2-587f-4017-bf8f-c42b1332fbee","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.2157094} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"086ffd353b25ca4b5646a4d11ac48572","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2099d5b1-6a30-461c-98ca-fb45f78b320f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.2214751} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"086ffd353b25ca4b5646a4d11ac48572","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"ed947252-a1d7-461f-b450-9c591ccad8ad","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.2333095} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cf02d497-c2c3-477a-b9db-cd0d9e2b6de2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.2334158} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"086ffd353b25ca4b5646a4d11ac48572","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:54.233296878Z"}]},"request_id":"bfa691a0-caf3-42fb-9637-fec96321537f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.238331} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"086ffd353b25ca4b5646a4d11ac48572","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"086ffd353b25ca4b5646a4d11ac48572"} gateway-1 | {"time_local":"28/Aug/2024:09:10:54 +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":"086ffd353b25ca4b5646a4d11ac48572"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"086ffd353b25ca4b5646a4d11ac48572","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k","level":"info","message":"auth send jwt","requestID":"d74a4bcba3b718d10d321e5eb5615515"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d74a4bcba3b718d10d321e5eb5615515","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"d74a4bcba3b718d10d321e5eb5615515"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":91,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":91,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.671796,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:54Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k","level":"info","message":"auth send jwt","requestID":"1a381dcf7182c65e5369033ceb70bfff"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1a381dcf7182c65e5369033ceb70bfff","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"1a381dcf7182c65e5369033ceb70bfff"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"d74a4bcba3b718d10d321e5eb5615515","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836254,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d74a4bcba3b718d10d321e5eb5615515","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":92,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":92,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.754623,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"1a381dcf7182c65e5369033ceb70bfff","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836254,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1a381dcf7182c65e5369033ceb70bfff","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:54.183403406Z"}]},"request_id":"56777799-8a88-450c-87b8-e3480b005975","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.7652626} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d74a4bcba3b718d10d321e5eb5615515","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:54.233296878Z"}]},"request_id":"35a65131-515d-4811-adb7-dbf61f837c31","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.7684078} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"1a381dcf7182c65e5369033ceb70bfff","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a8615f94-575e-49a9-8928-d154359ff147","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.7699661} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"d74a4bcba3b718d10d321e5eb5615515","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9383f208-e931-43c5-a6b5-b8fd1fca5e5d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.7740512} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"1a381dcf7182c65e5369033ceb70bfff","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:54.183403406Z"}]},"request_id":"6bd1bf54-c74d-46ae-b2b8-78660b7a3fb4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.7808082} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d74a4bcba3b718d10d321e5eb5615515","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"d74a4bcba3b718d10d321e5eb5615515"} gateway-1 | {"time_local":"28/Aug/2024:09:10:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/6718accf-58d9-4b9e-ba8f-98f288e503f3 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":"d74a4bcba3b718d10d321e5eb5615515"} device-1 | {"level":"info","message":"PATCH /devices/6718accf-58d9-4b9e-ba8f-98f288e503f3 200 30ms","method":"PATCH","requestID":"d74a4bcba3b718d10d321e5eb5615515","responseTime":30,"status":200,"url":"/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k","level":"info","message":"auth send jwt","requestID":"1752c918a214c2293227d5b17d452a1d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1752c918a214c2293227d5b17d452a1d","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"1752c918a214c2293227d5b17d452a1d"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":93,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":93,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.847476,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"1752c918a214c2293227d5b17d452a1d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836254,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"1752c918a214c2293227d5b17d452a1d","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:54.233296878Z"}]},"request_id":"bfbee314-c1a8-467f-b9c4-4f5ab2a2091b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.7987974} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1a381dcf7182c65e5369033ceb70bfff","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"1a381dcf7182c65e5369033ceb70bfff"} gateway-1 | {"time_local":"28/Aug/2024:09:10:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.048","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"1a381dcf7182c65e5369033ceb70bfff"} device-1 | {"level":"info","message":"PATCH /devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac 200 43ms","method":"PATCH","requestID":"1a381dcf7182c65e5369033ceb70bfff","responseTime":43,"status":200,"url":"/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k","level":"info","message":"auth send jwt","requestID":"269c799815b5f359c9defccc29428ce3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"269c799815b5f359c9defccc29428ce3","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"269c799815b5f359c9defccc29428ce3"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"1752c918a214c2293227d5b17d452a1d"} gateway-1 | {"time_local":"28/Aug/2024:09:10:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/6718accf-58d9-4b9e-ba8f-98f288e503f3/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":"1752c918a214c2293227d5b17d452a1d"} device-1 | {"level":"info","message":"POST /devices/6718accf-58d9-4b9e-ba8f-98f288e503f3/websocket 200 20ms","method":"POST","requestID":"1752c918a214c2293227d5b17d452a1d","responseTime":20,"status":200,"url":"/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3/websocket"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":94,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":94,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.928139,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"269c799815b5f359c9defccc29428ce3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836254,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"269c799815b5f359c9defccc29428ce3","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"269c799815b5f359c9defccc29428ce3"} device-1 | {"level":"info","message":"POST /devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac/websocket 200 12ms","method":"POST","requestID":"269c799815b5f359c9defccc29428ce3","responseTime":12,"status":200,"url":"/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac/websocket"} gateway-1 | {"time_local":"28/Aug/2024:09:10:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac/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":"269c799815b5f359c9defccc29428ce3"} device-1 | {"level":"info","message":"device 'http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k","level":"info","message":"auth send jwt","requestID":"6d0b4bd9a1c55e84863fe34034036f8a"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"6d0b4bd9a1c55e84863fe34034036f8a","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6d0b4bd9a1c55e84863fe34034036f8a"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":95,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":95,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.805628,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6d0b4bd9a1c55e84863fe34034036f8a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836254,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"6d0b4bd9a1c55e84863fe34034036f8a","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:54.183403406Z"}]},"request_id":"ee3c4bfa-36a9-4b2d-a7c7-1a6bfffb53ea","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.850223} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6d0b4bd9a1c55e84863fe34034036f8a","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6d0b4bd9a1c55e84863fe34034036f8a"} gateway-1 | {"time_local":"28/Aug/2024:09:10:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6718accf-58d9-4b9e-ba8f-98f288e503f3? 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":"6d0b4bd9a1c55e84863fe34034036f8a"} device-1 | {"level":"info","message":"GET /devices/6718accf-58d9-4b9e-ba8f-98f288e503f3? 200 14ms","method":"GET","requestID":"6d0b4bd9a1c55e84863fe34034036f8a","responseTime":14,"status":200,"url":"/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k","level":"info","message":"auth send jwt","requestID":"b397b7f282632e1e4264e15801dfbe7e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b397b7f282632e1e4264e15801dfbe7e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b397b7f282632e1e4264e15801dfbe7e"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":96,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":96,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.643193,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b397b7f282632e1e4264e15801dfbe7e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836254,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b397b7f282632e1e4264e15801dfbe7e","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:54.233296878Z"}]},"request_id":"06e4385a-3745-42cc-b262-3676ce0a2b3d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.8681004} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b397b7f282632e1e4264e15801dfbe7e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b397b7f282632e1e4264e15801dfbe7e"} gateway-1 | {"time_local":"28/Aug/2024:09:10:54 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac? 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":"b397b7f282632e1e4264e15801dfbe7e"} device-1 | {"level":"info","message":"GET /devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac? 200 13ms","method":"GET","requestID":"b397b7f282632e1e4264e15801dfbe7e","responseTime":13,"status":200,"url":"/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k","level":"info","message":"auth send jwt","requestID":"921990ed4c50635195908baafc1177b6"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"921990ed4c50635195908baafc1177b6","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"921990ed4c50635195908baafc1177b6"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":97,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":97,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.684907,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"921990ed4c50635195908baafc1177b6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836254,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"921990ed4c50635195908baafc1177b6","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40"},"level":"info","message":"Attempting to run experiment","requestID":"921990ed4c50635195908baafc1177b6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40"},"level":"info","message":"Attempting to book experiment","requestID":"921990ed4c50635195908baafc1177b6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40"},"level":"info","message":"Successfully booked experiment","requestID":"921990ed4c50635195908baafc1177b6"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6e34b660-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6e34dd70-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":98,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":99,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":98,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.421247,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6e34b660-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836254,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6e34b660-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":99,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.964845,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6e34dd70-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836254,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6e34dd70-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:54.183403406Z"}]},"request_id":"ccdf560b-424d-4293-aa2c-7aa2221890a1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.9277482} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"6e34b660-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:54.233296878Z"}]},"request_id":"8521a58e-e9b1-4722-8efe-d089dcd03ff3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.928757} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6e34dd70-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6e34b660-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/6718accf-58d9-4b9e-ba8f-98f288e503f3? 200 17ms","method":"GET","requestID":"6e34b660-651d-11ef-83ce-bd5a3df00b5c","responseTime":17,"status":200,"url":"/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6e34dd70-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac? 200 17ms","method":"GET","requestID":"6e34dd70-651d-11ef-83ce-bd5a3df00b5c","responseTime":17,"status":200,"url":"/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40"},"level":"info","message":"Setting up experiment","requestID":"921990ed4c50635195908baafc1177b6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"921990ed4c50635195908baafc1177b6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40"},"level":"info","message":"Successfully locked booking for experiment","requestID":"921990ed4c50635195908baafc1177b6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"921990ed4c50635195908baafc1177b6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"921990ed4c50635195908baafc1177b6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40"},"level":"info","message":"Attempting to update booking for experiment","requestID":"921990ed4c50635195908baafc1177b6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40"},"level":"info","message":"Successfully updated booking for experiment","requestID":"921990ed4c50635195908baafc1177b6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40"},"level":"info","message":"Successfully set up experiment","requestID":"921990ed4c50635195908baafc1177b6"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6e3d9000-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6e3db710-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6e3e0530-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40"},"level":"info","message":"Successfully running experiment","requestID":"921990ed4c50635195908baafc1177b6"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":100,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":100,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.970534,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":101,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6e3d9000-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836254,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6e3d9000-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":101,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.869087,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":102,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6e3db710-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836254,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"6e3db710-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":102,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.483641,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"402aa930-d948-468e-87b2-e085f98bff13","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.9867802} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6e3e0530-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","object_type":"device","rebac_allow":false,"scope_allow":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":"6e3e0530-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6e3e0530-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/6718accf-58d9-4b9e-ba8f-98f288e503f3/signaling 200 15ms","method":"POST","requestID":"6e3e0530-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3/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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:54.183403406Z"}]},"request_id":"f4dfbd70-1990-46f9-bcf7-89891579b0d3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.9942276} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"6e3d9000-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:54.233296878Z"}]},"request_id":"d236a3ad-21dd-47fc-a576-e726e6040943","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836254.9958582} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6e40c450-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"6e3db710-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":103,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:54Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f50b5ce0-5728-4a6a-8ac6-16c9be2ed8a1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836255.0022628} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":103,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.426531,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:55Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6e3d9000-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6e40c450-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","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/6718accf-58d9-4b9e-ba8f-98f288e503f3? 200 31ms","method":"GET","requestID":"6e3d9000-651d-11ef-83ce-bd5a3df00b5c","responseTime":31,"status":200,"url":"/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3?"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"6e40c450-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6e3db710-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e4af3f2f-8384-43cc-93f6-f9f18821743b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836255.0062795} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F354802d0-d725-43bf-bfbd-dcf261998a40#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F354802d0-d725-43bf-bfbd-dcf261998a40","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"662687c9-b925-45e7-b9b5-81e3167617ca","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836255.006611} device-1 | {"level":"info","message":"GET /devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac? 200 31ms","method":"GET","requestID":"6e3db710-651d-11ef-83ce-bd5a3df00b5c","responseTime":31,"status":200,"url":"/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"921990ed4c50635195908baafc1177b6","responseTime":25,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6e433550-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6e40c450-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac/signaling 200 20ms","method":"POST","requestID":"6e40c450-651d-11ef-83ce-bd5a3df00b5c","responseTime":20,"status":200,"url":"/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"921990ed4c50635195908baafc1177b6"} gateway-1 | {"time_local":"28/Aug/2024:09:10:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"815","request_time":"0.148","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"921990ed4c50635195908baafc1177b6"} experiment-1 | {"level":"info","message":"POST /experiments? 201 144ms","method":"POST","requestID":"921990ed4c50635195908baafc1177b6","responseTime":144,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":104,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:55Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b111945f-b54e-4588-98ec-971fd6902bba","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836255.0264847} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":104,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.42955,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:55Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NX0.17vqlFS0VIh9Z6mnVXIWDUEyTqroISPqyI1Wr5gkqTk","level":"info","message":"auth send jwt","requestID":"b2b00325e8f773b9be3ad2a0e2ab87c0"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6e433550-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b2b00325e8f773b9be3ad2a0e2ab87c0","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"6e433550-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b2b00325e8f773b9be3ad2a0e2ab87c0"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6e433550-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/6718accf-58d9-4b9e-ba8f-98f288e503f3/signaling 200 23ms","method":"POST","requestID":"6e433550-651d-11ef-83ce-bd5a3df00b5c","responseTime":23,"status":200,"url":"/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3/signaling"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":105,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:55Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":105,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.753446,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b2b00325e8f773b9be3ad2a0e2ab87c0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836255,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NX0.17vqlFS0VIh9Z6mnVXIWDUEyTqroISPqyI1Wr5gkqTk"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6e472cf0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b2b00325e8f773b9be3ad2a0e2ab87c0","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":106,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:55Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"01039443-05e6-4993-974f-62ba066930fc","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836255.0442233} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:54.183403406Z"}]},"request_id":"ab1973e1-c2ca-42a3-b9c0-aa4e557944c7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836255.0446155} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b2b00325e8f773b9be3ad2a0e2ab87c0","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":106,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.004499,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6e472cf0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","object_type":"device","rebac_allow":false,"scope_allow":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":"6e472cf0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b2b00325e8f773b9be3ad2a0e2ab87c0"} gateway-1 | {"time_local":"28/Aug/2024:09:10:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6718accf-58d9-4b9e-ba8f-98f288e503f3? 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":"b2b00325e8f773b9be3ad2a0e2ab87c0"} device-1 | {"level":"info","message":"GET /devices/6718accf-58d9-4b9e-ba8f-98f288e503f3? 200 19ms","method":"GET","requestID":"b2b00325e8f773b9be3ad2a0e2ab87c0","responseTime":19,"status":200,"url":"/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6e472cf0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac/signaling 200 14ms","method":"POST","requestID":"6e472cf0-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"921990ed4c50635195908baafc1177b6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40"},"level":"info","message":"Building connection plan","requestID":"921990ed4c50635195908baafc1177b6"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"285e039b-d470-4a2f-8dbe-f8736f9bb370"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"5cab5b23-d3a7-475a-8b8d-301dd8f6af4b"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"9cc291e6-f4bc-4332-9f83-8698b45bba7d"}]},"level":"info","message":"Built pairwise service configurations","requestID":"921990ed4c50635195908baafc1177b6"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"921990ed4c50635195908baafc1177b6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NX0.17vqlFS0VIh9Z6mnVXIWDUEyTqroISPqyI1Wr5gkqTk","level":"info","message":"auth send jwt","requestID":"3da98fcd99daaf7286fb62db679e51ac"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3da98fcd99daaf7286fb62db679e51ac","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"6e49ec10-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3da98fcd99daaf7286fb62db679e51ac"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":107,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:55Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":107,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.773576,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:55Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":108,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:55Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6e49ec10-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836254,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NH0.nNvFxxbx-XPYveni4_KkMaWGhFiyaxrx4t3_rzioB6k"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6e49ec10-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":108,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.911952,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"3da98fcd99daaf7286fb62db679e51ac","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836255,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1NX0.17vqlFS0VIh9Z6mnVXIWDUEyTqroISPqyI1Wr5gkqTk"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"3da98fcd99daaf7286fb62db679e51ac","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:54.233296878Z"}]},"request_id":"609acd59-cc1c-4554-903b-cd31b981ba00","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836255.0700173} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3da98fcd99daaf7286fb62db679e51ac","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3da98fcd99daaf7286fb62db679e51ac"} device-1 | {"level":"info","message":"GET /devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac? 200 17ms","method":"GET","requestID":"3da98fcd99daaf7286fb62db679e51ac","responseTime":17,"status":200,"url":"/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac?"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"3c591585-9734-4700-a5ec-1709123d8c4e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836255.0751386} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d28a9911-719c-43d2-8db5-fb92296c7e1a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836255.075482} gateway-1 | {"time_local":"28/Aug/2024:09:10:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac? 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":"3da98fcd99daaf7286fb62db679e51ac"} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"6e49ec10-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"6e49ec10-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"6e49ec10-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/674d52bb-eb46-48ee-a731-f55954816cc1'","requestID":"6e49ec10-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/674d52bb-eb46-48ee-a731-f55954816cc1'","requestID":"6e49ec10-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"6e49ec10-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 35ms","method":"POST","requestID":"6e49ec10-651d-11ef-83ce-bd5a3df00b5c","responseTime":35,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"6e49ec10-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"921990ed4c50635195908baafc1177b6"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6e533ae0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":109,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:55Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e040028a-a612-47b0-94ea-8ff84fa6ad97","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836255.1228597} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":109,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.473234,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6e533ae0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6e533ae0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6e533ae0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/6718accf-58d9-4b9e-ba8f-98f288e503f3/signaling 200 9ms","method":"POST","requestID":"6e533ae0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6e54e890-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":110,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:55Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"33d405ef-b498-462c-b24b-d3b82445035c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836255.1334736} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":110,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.083037,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6e54e890-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6e54e890-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6e54e890-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac/signaling 200 9ms","method":"POST","requestID":"6e54e890-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac/signaling"} device-1 | {"device":"6718accf-58d9-4b9e-ba8f-98f288e503f3","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":"674d52bb-eb46-48ee-a731-f55954816cc1","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"cfbabda3-0c80-4c66-a579-6a86d96ddbac","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":"674d52bb-eb46-48ee-a731-f55954816cc1","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"cfbabda3-0c80-4c66-a579-6a86d96ddbac","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":"cfbabda3-0c80-4c66-a579-6a86d96ddbac","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":"cfbabda3-0c80-4c66-a579-6a86d96ddbac","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":"cfbabda3-0c80-4c66-a579-6a86d96ddbac","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/674d52bb-eb46-48ee-a731-f55954816cc1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"674d52bb-eb46-48ee-a731-f55954816cc1","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2acc9c0396376c36b7cb7add15527a43","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"2acc9c0396376c36b7cb7add15527a43","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/cfbabda3-0c80-4c66-a579-6a86d96ddbac"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/674d52bb-eb46-48ee-a731-f55954816cc1"}}},"level":"info","message":"received a callback","requestID":"2acc9c0396376c36b7cb7add15527a43"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"2acc9c0396376c36b7cb7add15527a43","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:10: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.009","http_referrer":"","http_user_agent":"node-fetch","requestID":"2acc9c0396376c36b7cb7add15527a43"} device-1 | {"device":"6718accf-58d9-4b9e-ba8f-98f288e503f3","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":"6718accf-58d9-4b9e-ba8f-98f288e503f3","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":"6718accf-58d9-4b9e-ba8f-98f288e503f3","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":"cfbabda3-0c80-4c66-a579-6a86d96ddbac","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 | {"data":{"peerconnection":"674d52bb-eb46-48ee-a731-f55954816cc1","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"6718accf-58d9-4b9e-ba8f-98f288e503f3","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":"cfbabda3-0c80-4c66-a579-6a86d96ddbac","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":"6718accf-58d9-4b9e-ba8f-98f288e503f3","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":"674d52bb-eb46-48ee-a731-f55954816cc1","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/674d52bb-eb46-48ee-a731-f55954816cc1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"674d52bb-eb46-48ee-a731-f55954816cc1","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"85728f0335b5e79035022fac552266a0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"85728f0335b5e79035022fac552266a0","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/cfbabda3-0c80-4c66-a579-6a86d96ddbac"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/674d52bb-eb46-48ee-a731-f55954816cc1"}}},"level":"info","message":"received a callback","requestID":"85728f0335b5e79035022fac552266a0"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"6f911210-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":111,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F674d52bb-eb46-48ee-a731-f55954816cc1","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ef969994-a2ba-4f69-94a4-4e48fa78d14b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.2060401} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":111,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.422905,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/674d52bb-eb46-48ee-a731-f55954816cc1","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6f911210-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/674d52bb-eb46-48ee-a731-f55954816cc1","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":"6f911210-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"6f911210-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/674d52bb-eb46-48ee-a731-f55954816cc1 200 10ms","method":"GET","requestID":"6f911210-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/peerconnections/674d52bb-eb46-48ee-a731-f55954816cc1"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 33ms","method":"POST","requestID":"85728f0335b5e79035022fac552266a0","responseTime":33,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:10: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.035","http_referrer":"","http_user_agent":"node-fetch","requestID":"85728f0335b5e79035022fac552266a0"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6f957ee0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":112,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6745d6cd-6d66-4f0e-8d37-a2cf4f1bab4a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.2356563} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":112,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.715642,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6f957ee0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6f957ee0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6f957ee0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac/signaling 200 11ms","method":"POST","requestID":"6f957ee0-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6f977ab0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":113,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e66e8ee9-9047-425f-82b7-79f5b73311af","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.247963} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":113,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.432368,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6f977ab0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6f977ab0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6f977ab0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/6718accf-58d9-4b9e-ba8f-98f288e503f3/signaling 200 9ms","method":"POST","requestID":"6f977ab0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E","level":"info","message":"auth send jwt","requestID":"1e2b669e141619705e98ba1987b7168a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1e2b669e141619705e98ba1987b7168a","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/354802d0-d725-43bf-bfbd-dcf261998a40","requestID":"1e2b669e141619705e98ba1987b7168a"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":114,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":114,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.835533,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"1e2b669e141619705e98ba1987b7168a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836257,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1e2b669e141619705e98ba1987b7168a","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/354802d0-d725-43bf-bfbd-dcf261998a40","requestID":"1e2b669e141619705e98ba1987b7168a"} gateway-1 | {"time_local":"28/Aug/2024:09:10:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/354802d0-d725-43bf-bfbd-dcf261998a40 HTTP/1.1","status": "200","body_bytes_sent":"888","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1e2b669e141619705e98ba1987b7168a"} experiment-1 | {"level":"info","message":"GET /experiments/354802d0-d725-43bf-bfbd-dcf261998a40 200 13ms","method":"GET","requestID":"1e2b669e141619705e98ba1987b7168a","responseTime":13,"status":200,"url":"/experiments/354802d0-d725-43bf-bfbd-dcf261998a40"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E","level":"info","message":"auth send jwt","requestID":"33b2868702bbb92e43513e45566e0b15"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"33b2868702bbb92e43513e45566e0b15","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/354802d0-d725-43bf-bfbd-dcf261998a40","requestID":"33b2868702bbb92e43513e45566e0b15"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":115,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":115,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.892644,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"33b2868702bbb92e43513e45566e0b15","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836257,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"33b2868702bbb92e43513e45566e0b15","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40"},"level":"info","message":"Attempting to finish experiment","requestID":"33b2868702bbb92e43513e45566e0b15"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"6fa31370-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":116,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":116,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.958911,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/674d52bb-eb46-48ee-a731-f55954816cc1","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6fa31370-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/674d52bb-eb46-48ee-a731-f55954816cc1","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836257,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6fa31370-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"cfbabda3-0c80-4c66-a579-6a86d96ddbac","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":"cfbabda3-0c80-4c66-a579-6a86d96ddbac","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":"6718accf-58d9-4b9e-ba8f-98f288e503f3","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":"6718accf-58d9-4b9e-ba8f-98f288e503f3","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":"6718accf-58d9-4b9e-ba8f-98f288e503f3","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":"cfbabda3-0c80-4c66-a579-6a86d96ddbac","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/674d52bb-eb46-48ee-a731-f55954816cc1' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/674d52bb-eb46-48ee-a731-f55954816cc1' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"674d52bb-eb46-48ee-a731-f55954816cc1","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F674d52bb-eb46-48ee-a731-f55954816cc1': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F674d52bb-eb46-48ee-a731-f55954816cc1","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"a35a8b7a-9240-4833-95ff-7dc034918f40","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.3395364} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a52fc9c5-083a-480a-bdac-ffe95f4c89f2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.3401437} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"73aa61891e01a2bbd8d10aca400e3e5e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"73aa61891e01a2bbd8d10aca400e3e5e","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8ea9f8dbf4eb3452b15f69b1b09f839c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"6fa31370-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"8ea9f8dbf4eb3452b15f69b1b09f839c","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/cfbabda3-0c80-4c66-a579-6a86d96ddbac"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/674d52bb-eb46-48ee-a731-f55954816cc1"}}},"level":"info","message":"received a callback","requestID":"73aa61891e01a2bbd8d10aca400e3e5e"} 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/cfbabda3-0c80-4c66-a579-6a86d96ddbac"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/674d52bb-eb46-48ee-a731-f55954816cc1"}}},"level":"info","message":"received a callback","requestID":"8ea9f8dbf4eb3452b15f69b1b09f839c"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"6fa31370-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/674d52bb-eb46-48ee-a731-f55954816cc1 204 43ms","method":"DELETE","requestID":"6fa31370-651d-11ef-83ce-bd5a3df00b5c","responseTime":43,"status":204,"url":"/peerconnections/674d52bb-eb46-48ee-a731-f55954816cc1"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/354802d0-d725-43bf-bfbd-dcf261998a40"},"level":"info","message":"Successfully finished experiment","requestID":"33b2868702bbb92e43513e45566e0b15"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6fac6240-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":117,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcfbabda3-0c80-4c66-a579-6a86d96ddbac","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"59d2427b-661f-4729-af74-e56ad2b262d4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.3851688} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":117,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.332612,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6fac6240-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6fac6240-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6fac6240-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac/signaling 200 10ms","method":"POST","requestID":"6fac6240-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/cfbabda3-0c80-4c66-a579-6a86d96ddbac/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F354802d0-d725-43bf-bfbd-dcf261998a40': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F354802d0-d725-43bf-bfbd-dcf261998a40","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"6ebabc36-cd7f-42c9-9fa8-ba322b3b6fb6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.3919845} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"729656c2-d41e-4b49-8b4c-becda7f6a563","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.3921254} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"6fae5e10-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"33b2868702bbb92e43513e45566e0b15","responseTime":15,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":118,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6718accf-58d9-4b9e-ba8f-98f288e503f3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a8e6e48a-5d93-49da-84aa-1a4079ad4fc8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.3984075} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":118,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.740477,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6fae5e10-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"6fae5e10-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"6fae5e10-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/6718accf-58d9-4b9e-ba8f-98f288e503f3/signaling 200 10ms","method":"POST","requestID":"6fae5e10-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/6718accf-58d9-4b9e-ba8f-98f288e503f3/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/354802d0-d725-43bf-bfbd-dcf261998a40","requestID":"33b2868702bbb92e43513e45566e0b15"} gateway-1 | {"time_local":"28/Aug/2024:09:10:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/354802d0-d725-43bf-bfbd-dcf261998a40 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.160","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"33b2868702bbb92e43513e45566e0b15"} gateway-1 | {"time_local":"28/Aug/2024:09:10:57 +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.650","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"faae31dec790471ff5711bb13fade646"} experiment-1 | {"level":"info","message":"DELETE /experiments/354802d0-d725-43bf-bfbd-dcf261998a40 204 157ms","method":"DELETE","requestID":"33b2868702bbb92e43513e45566e0b15","responseTime":157,"status":204,"url":"/experiments/354802d0-d725-43bf-bfbd-dcf261998a40"} gateway-1 | {"time_local":"28/Aug/2024:09:10:57 +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.640","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"ce3eda7dfb012c754125981cecccdec3"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 121ms","method":"POST","requestID":"73aa61891e01a2bbd8d10aca400e3e5e","responseTime":121,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:10: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.127","http_referrer":"","http_user_agent":"node-fetch","requestID":"73aa61891e01a2bbd8d10aca400e3e5e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 121ms","method":"POST","requestID":"8ea9f8dbf4eb3452b15f69b1b09f839c","responseTime":121,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:10: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.128","http_referrer":"","http_user_agent":"node-fetch","requestID":"8ea9f8dbf4eb3452b15f69b1b09f839c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E","level":"info","message":"auth send jwt","requestID":"9a099b42cd69d5c035246188de336c17"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9a099b42cd69d5c035246188de336c17","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/6718accf-58d9-4b9e-ba8f-98f288e503f3' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"9a099b42cd69d5c035246188de336c17"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":119,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":119,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.034867,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9a099b42cd69d5c035246188de336c17","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836257,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9a099b42cd69d5c035246188de336c17","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/cfbabda3-0c80-4c66-a579-6a86d96ddbac' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a0ae1af-d2bf-48b2-843e-df49a267b589","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"093fa70b-37aa-4bce-89f0-6a56199b0ef9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.4940357} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9a099b42cd69d5c035246188de336c17","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"11d62897-cb04-4a48-a47f-0ae74986da39","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.5013354} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"9a099b42cd69d5c035246188de336c17","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a0ae1af-d2bf-48b2-843e-df49a267b589","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"95f098d5-f683-4ba3-8342-58b42bf9113b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.5139341} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"eb497566-d515-42d6-80b3-1282faa0caeb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.5142124} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"9a099b42cd69d5c035246188de336c17","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a0ae1af-d2bf-48b2-843e-df49a267b589","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1a0ae1af-d2bf-48b2-843e-df49a267b589","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:57.513917893Z"}]},"request_id":"6d638ec4-a86b-4e71-b5ee-3698293371eb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.5189834} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9a099b42cd69d5c035246188de336c17","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"9a099b42cd69d5c035246188de336c17"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"9a099b42cd69d5c035246188de336c17","responseTime":48,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"28/Aug/2024:09:10:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.058","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9a099b42cd69d5c035246188de336c17"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E","level":"info","message":"auth send jwt","requestID":"5435d3265904da2f161516300d2e5bcc"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5435d3265904da2f161516300d2e5bcc","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"5435d3265904da2f161516300d2e5bcc"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":120,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":120,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.82064,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"5435d3265904da2f161516300d2e5bcc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836257,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5435d3265904da2f161516300d2e5bcc","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fd6a79b-b2c8-48a8-b98f-87b6084a49d0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"4387b7c6-1a69-4b7d-8402-d0f79c3acbeb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.553126} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5435d3265904da2f161516300d2e5bcc","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d5bc4502-6caa-4231-93cc-e3cb6a77888e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.56193} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"5435d3265904da2f161516300d2e5bcc","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fd6a79b-b2c8-48a8-b98f-87b6084a49d0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"f6c87299-3172-4dfc-a420-04ea25508fe5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.572984} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f08c70d8-8fc5-4a6e-a863-b35f042bf0d1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.57328} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"5435d3265904da2f161516300d2e5bcc","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fd6a79b-b2c8-48a8-b98f-87b6084a49d0","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5fd6a79b-b2c8-48a8-b98f-87b6084a49d0","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:57.572969673Z"}]},"request_id":"5717341a-e112-433d-b7bf-2f7aa667afb6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.57967} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5435d3265904da2f161516300d2e5bcc","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"5435d3265904da2f161516300d2e5bcc"} gateway-1 | {"time_local":"28/Aug/2024:09:10:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.059","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5435d3265904da2f161516300d2e5bcc"} device-1 | {"level":"info","message":"POST /devices? 201 54ms","method":"POST","requestID":"5435d3265904da2f161516300d2e5bcc","responseTime":54,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E","level":"info","message":"auth send jwt","requestID":"09866036d019f5c6e259e9b37075663e"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"09866036d019f5c6e259e9b37075663e","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"09866036d019f5c6e259e9b37075663e"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":121,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":121,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.852793,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"09866036d019f5c6e259e9b37075663e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836257,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"09866036d019f5c6e259e9b37075663e","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e3d05e9-3964-4b9a-b0f5-e37402bed50b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"e457fb63-01b9-45c9-a19a-0c9ea5e2f224","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.6143322} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"09866036d019f5c6e259e9b37075663e","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"24c3799a-866d-43ec-ad76-1798d17039fe","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.6196818} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"09866036d019f5c6e259e9b37075663e","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e3d05e9-3964-4b9a-b0f5-e37402bed50b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"2fc5e024-c4b0-4fcd-b36a-4edbc05ed314","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.632878} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7593959c-2e57-48a8-821b-7ca9da41a733","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.6330833} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"09866036d019f5c6e259e9b37075663e","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e3d05e9-3964-4b9a-b0f5-e37402bed50b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8e3d05e9-3964-4b9a-b0f5-e37402bed50b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:57.632861516Z"}]},"request_id":"614e6358-ba68-44ba-ad71-3d226c25a2f2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.6378114} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"09866036d019f5c6e259e9b37075663e","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"09866036d019f5c6e259e9b37075663e"} gateway-1 | {"time_local":"28/Aug/2024:09:10:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.056","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"09866036d019f5c6e259e9b37075663e"} device-1 | {"level":"info","message":"POST /devices? 201 51ms","method":"POST","requestID":"09866036d019f5c6e259e9b37075663e","responseTime":51,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E","level":"info","message":"auth send jwt","requestID":"e0747af9276478eef1d0151be3d28159"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e0747af9276478eef1d0151be3d28159","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"e0747af9276478eef1d0151be3d28159"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":122,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":122,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.62298,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"e0747af9276478eef1d0151be3d28159","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836257,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e0747af9276478eef1d0151be3d28159","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3d48ae11-dbd9-44a0-a7cd-6d755f3a378d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"0513ef89-0849-4403-b3e6-45c278450e74","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.6632166} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e0747af9276478eef1d0151be3d28159","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"46f67943-bf7b-47a9-9754-57c118c0fa3f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.6680977} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"e0747af9276478eef1d0151be3d28159","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3d48ae11-dbd9-44a0-a7cd-6d755f3a378d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"0a2baae7-f97c-4ee8-ac74-8283ba5b7917","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.6781397} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8ba88ee0-99f8-4a98-b3bf-921694d65548","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.6783788} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"e0747af9276478eef1d0151be3d28159","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3d48ae11-dbd9-44a0-a7cd-6d755f3a378d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3d48ae11-dbd9-44a0-a7cd-6d755f3a378d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:57.678127188Z"}]},"request_id":"8202adb2-98fc-40c9-8cf7-77c8c10130fc","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.6829112} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e0747af9276478eef1d0151be3d28159","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e0747af9276478eef1d0151be3d28159"} gateway-1 | {"time_local":"28/Aug/2024:09:10:57 +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":"e0747af9276478eef1d0151be3d28159"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"e0747af9276478eef1d0151be3d28159","responseTime":41,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E","level":"info","message":"auth send jwt","requestID":"059055637d5cf84e6192447cdea94960"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"059055637d5cf84e6192447cdea94960","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"059055637d5cf84e6192447cdea94960"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":123,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":123,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.892993,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"059055637d5cf84e6192447cdea94960","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836257,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"059055637d5cf84e6192447cdea94960","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18a88c01-9cdd-4645-bbfd-7eafd79a8196","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"736a920f-b701-4f0f-ac37-aed7379052b2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.7102766} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"059055637d5cf84e6192447cdea94960","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"74046c67-e107-4f87-8ed6-726980e6571f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.715462} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"059055637d5cf84e6192447cdea94960","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18a88c01-9cdd-4645-bbfd-7eafd79a8196","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"681b168d-b1f0-4406-83e0-342fffba5c28","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.7308316} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f77c633b-04f5-489a-8736-87735d644e18","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.7310436} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"059055637d5cf84e6192447cdea94960","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18a88c01-9cdd-4645-bbfd-7eafd79a8196","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F18a88c01-9cdd-4645-bbfd-7eafd79a8196","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:57.730819181Z"}]},"request_id":"d626d9f8-99cc-4b0c-b2b9-b7abab0f8070","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.7362082} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"059055637d5cf84e6192447cdea94960","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"059055637d5cf84e6192447cdea94960"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"059055637d5cf84e6192447cdea94960","responseTime":46,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"28/Aug/2024:09:10:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"059055637d5cf84e6192447cdea94960"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E","level":"info","message":"auth send jwt","requestID":"2b1a51f14922a0ce2bcd9631f3334847"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"2b1a51f14922a0ce2bcd9631f3334847","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"2b1a51f14922a0ce2bcd9631f3334847"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":124,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":124,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.949624,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"2b1a51f14922a0ce2bcd9631f3334847","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836257,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2b1a51f14922a0ce2bcd9631f3334847","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663d178e-71da-4228-8297-39a6bdeadf05","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"86f58520-01e1-4014-9cfb-10c589be9ce0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.7636738} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2b1a51f14922a0ce2bcd9631f3334847","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6a9328c1-8a26-449b-b766-93b85d6d4106","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.7690136} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"2b1a51f14922a0ce2bcd9631f3334847","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663d178e-71da-4228-8297-39a6bdeadf05","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"fcd978b1-0799-4b74-b4d5-16022f83833c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.7805398} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f593aca4-8c3f-4a04-af74-0448068ac78b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.7807248} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"2b1a51f14922a0ce2bcd9631f3334847","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663d178e-71da-4228-8297-39a6bdeadf05","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663d178e-71da-4228-8297-39a6bdeadf05","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:57.780521068Z"}]},"request_id":"60971723-ff8d-4ce1-b717-bf1f041f8ac1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.7854834} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2b1a51f14922a0ce2bcd9631f3334847","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"2b1a51f14922a0ce2bcd9631f3334847"} gateway-1 | {"time_local":"28/Aug/2024:09:10:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2b1a51f14922a0ce2bcd9631f3334847"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"2b1a51f14922a0ce2bcd9631f3334847","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E","level":"info","message":"auth send jwt","requestID":"6f69787e863eb6c91d37ebaaabddb16f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6f69787e863eb6c91d37ebaaabddb16f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"6f69787e863eb6c91d37ebaaabddb16f"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":125,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":125,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.734919,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6f69787e863eb6c91d37ebaaabddb16f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836257,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"6f69787e863eb6c91d37ebaaabddb16f","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b3d6365-8f7c-4bc0-9bdc-20e03e97c0e3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"7abe88eb-dd47-4cf6-a5c6-a52455a41fda","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.8130684} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6f69787e863eb6c91d37ebaaabddb16f","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d53fc865-9321-4e41-ab68-8f108beca5f3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.8186705} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"6f69787e863eb6c91d37ebaaabddb16f","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b3d6365-8f7c-4bc0-9bdc-20e03e97c0e3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"cd748676-df6f-4cc3-9c68-62401514ad5e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.8346374} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d35a0a9a-1595-42a6-9b89-ec2500ca737a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.8348145} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"6f69787e863eb6c91d37ebaaabddb16f","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b3d6365-8f7c-4bc0-9bdc-20e03e97c0e3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b3d6365-8f7c-4bc0-9bdc-20e03e97c0e3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:57.834618653Z"}]},"request_id":"25c7f7de-480e-494b-bc32-a99037a84130","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.83935} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6f69787e863eb6c91d37ebaaabddb16f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"6f69787e863eb6c91d37ebaaabddb16f"} gateway-1 | {"time_local":"28/Aug/2024:09:10:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.052","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6f69787e863eb6c91d37ebaaabddb16f"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"6f69787e863eb6c91d37ebaaabddb16f","responseTime":47,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E","level":"info","message":"auth send jwt","requestID":"8ee321530988574af46401d50d6f6148"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8ee321530988574af46401d50d6f6148","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"8ee321530988574af46401d50d6f6148"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":126,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":126,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.659628,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8ee321530988574af46401d50d6f6148","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836257,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8ee321530988574af46401d50d6f6148","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf17999b-1fd6-4073-82d6-01869d4050fb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"61bd3ccd-cec1-4b8d-a3ec-a596286f3b27","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.867052} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8ee321530988574af46401d50d6f6148","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cb73f81f-4408-4ec9-9635-0382169a1da3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.8726425} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"8ee321530988574af46401d50d6f6148","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf17999b-1fd6-4073-82d6-01869d4050fb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"6c66da6b-7490-46f8-a934-36f853b33fa6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.8815916} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ac4a939e-d342-45e7-85d1-55eeea2b3ca4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.8816679} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"8ee321530988574af46401d50d6f6148","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf17999b-1fd6-4073-82d6-01869d4050fb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf17999b-1fd6-4073-82d6-01869d4050fb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:57.881572614Z"}]},"request_id":"7b10149a-2849-451a-9f00-7228ad76fe78","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.8862524} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8ee321530988574af46401d50d6f6148","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"8ee321530988574af46401d50d6f6148"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"8ee321530988574af46401d50d6f6148","responseTime":43,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"28/Aug/2024:09:10:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.046","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8ee321530988574af46401d50d6f6148"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E","level":"info","message":"auth send jwt","requestID":"1fbe54e7a7d76241253c26a94a36f44d"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"1fbe54e7a7d76241253c26a94a36f44d","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"1fbe54e7a7d76241253c26a94a36f44d"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":127,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":127,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.70024,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"1fbe54e7a7d76241253c26a94a36f44d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836257,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1fbe54e7a7d76241253c26a94a36f44d","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe72d43c7-cf0a-4e0e-a8eb-b6da54dab492","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"3bf0a9ff-53dc-4bf5-86b5-319489c40add","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.9174385} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1fbe54e7a7d76241253c26a94a36f44d","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"09fece84-bc27-4faf-9e31-21cd03e1b7bc","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.9227264} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"1fbe54e7a7d76241253c26a94a36f44d","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe72d43c7-cf0a-4e0e-a8eb-b6da54dab492","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"a1320451-8bd9-4236-a462-55de4e5d287d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.9336977} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3c7fe523-ec28-4df9-ad93-8d89c4eda62a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.9339497} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"1fbe54e7a7d76241253c26a94a36f44d","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe72d43c7-cf0a-4e0e-a8eb-b6da54dab492","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe72d43c7-cf0a-4e0e-a8eb-b6da54dab492","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:57.933680028Z"}]},"request_id":"15cfaf9b-fcf5-4e9d-9462-46aae7ee8f09","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.9382377} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1fbe54e7a7d76241253c26a94a36f44d","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"1fbe54e7a7d76241253c26a94a36f44d"} gateway-1 | {"time_local":"28/Aug/2024:09:10:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"277","request_time":"0.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1fbe54e7a7d76241253c26a94a36f44d"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"1fbe54e7a7d76241253c26a94a36f44d","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E","level":"info","message":"auth send jwt","requestID":"603c775e249f1d767c21e802ee4b9a7e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"603c775e249f1d767c21e802ee4b9a7e","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"603c775e249f1d767c21e802ee4b9a7e"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":128,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":128,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.711465,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:57Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"603c775e249f1d767c21e802ee4b9a7e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836257,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"603c775e249f1d767c21e802ee4b9a7e","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2cde2177-07bb-4920-bf60-3fe797ddd530","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"604137b0-9099-46c1-890f-81b6732bb5f8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.968134} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"603c775e249f1d767c21e802ee4b9a7e","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b9e41916-55f6-4a4b-b22c-11ecef01e24f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.9734154} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"603c775e249f1d767c21e802ee4b9a7e","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2cde2177-07bb-4920-bf60-3fe797ddd530","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"951e46fb-5290-415c-8d8b-d8571c3ef5b5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.9827983} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"99c87445-b3b4-481d-a16e-d0257efc984c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.983104} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"603c775e249f1d767c21e802ee4b9a7e","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2cde2177-07bb-4920-bf60-3fe797ddd530","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2cde2177-07bb-4920-bf60-3fe797ddd530","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:57.982780360Z"}]},"request_id":"7de94d08-bf6a-4855-9f29-23de620ce348","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836257.9881864} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"603c775e249f1d767c21e802ee4b9a7e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"603c775e249f1d767c21e802ee4b9a7e"} gateway-1 | {"time_local":"28/Aug/2024:09:10:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"278","request_time":"0.048","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"603c775e249f1d767c21e802ee4b9a7e"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"603c775e249f1d767c21e802ee4b9a7e","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E","level":"info","message":"auth send jwt","requestID":"ba60008a1dc51964c01316643047cb70"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ba60008a1dc51964c01316643047cb70","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"ba60008a1dc51964c01316643047cb70"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":129,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":129,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.836734,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ba60008a1dc51964c01316643047cb70","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836257,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1N30.xf92UvMTUlNDvAeTtWMTu3i0t6Bp-w1JZU95z7BC44E"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ba60008a1dc51964c01316643047cb70","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4dfda54e-2fe7-49e5-9933-02dc14c56ce7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"9b191fc6-7bf7-4795-96b7-fe2363547bbe","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.0213394} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ba60008a1dc51964c01316643047cb70","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ee5b64fe-b6d4-42ab-bee8-3dbb1845e5f1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.0262814} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"ba60008a1dc51964c01316643047cb70","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4dfda54e-2fe7-49e5-9933-02dc14c56ce7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"542e1389-3a41-4f87-9893-0ace8c8e049c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.0367315} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"46cd22c3-64da-4dd6-90c4-4eaa9e3907c7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.0369596} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"ba60008a1dc51964c01316643047cb70","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4dfda54e-2fe7-49e5-9933-02dc14c56ce7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4dfda54e-2fe7-49e5-9933-02dc14c56ce7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.036716567Z"}]},"request_id":"34ce3a4f-3e83-44dc-8322-4bbdf3be5812","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.0410619} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ba60008a1dc51964c01316643047cb70","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"ba60008a1dc51964c01316643047cb70"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"ba60008a1dc51964c01316643047cb70","responseTime":46,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"28/Aug/2024:09:10:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"1069","request_time":"0.051","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ba60008a1dc51964c01316643047cb70"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ","level":"info","message":"auth send jwt","requestID":"73f8f73f537492c676fa90f2f20f873f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"73f8f73f537492c676fa90f2f20f873f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"73f8f73f537492c676fa90f2f20f873f"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":130,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":130,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.767098,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"73f8f73f537492c676fa90f2f20f873f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"73f8f73f537492c676fa90f2f20f873f","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3f313c80-6a21-48cd-a9e7-9eeb47c25d82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"c5e184d5-a882-491b-a840-a103f7f1cfdb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.0668793} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"73f8f73f537492c676fa90f2f20f873f","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"59d8a185-fb69-4bf1-b0d6-0705503151bd","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.0720072} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"73f8f73f537492c676fa90f2f20f873f","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3f313c80-6a21-48cd-a9e7-9eeb47c25d82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"eee9b9d9-0659-41e1-9502-9f66a92e99a0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.0797389} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ddf7e75a-f9c1-4fec-8a1a-83fc2b320b35","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.0798833} authorization-1 | {"level":"info","message":"POST /relations/update 200 10ms","method":"POST","requestID":"73f8f73f537492c676fa90f2f20f873f","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3f313c80-6a21-48cd-a9e7-9eeb47c25d82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3f313c80-6a21-48cd-a9e7-9eeb47c25d82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.079724109Z"}]},"request_id":"df6b5987-a733-4b06-b38b-6c8918238dfe","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.0845423} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"73f8f73f537492c676fa90f2f20f873f","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"73f8f73f537492c676fa90f2f20f873f"} gateway-1 | {"time_local":"28/Aug/2024:09:10:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"1347","request_time":"0.042","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"73f8f73f537492c676fa90f2f20f873f"} device-1 | {"level":"info","message":"POST /devices? 201 38ms","method":"POST","requestID":"73f8f73f537492c676fa90f2f20f873f","responseTime":38,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ","level":"info","message":"auth send jwt","requestID":"9155d532fb3d1ad476d6711384770567"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9155d532fb3d1ad476d6711384770567","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"9155d532fb3d1ad476d6711384770567"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":131,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":131,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.925356,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9155d532fb3d1ad476d6711384770567","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9155d532fb3d1ad476d6711384770567","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa2f76102-eb6c-409f-9c6b-37c556491d98","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f0a63c57-dd06-484f-877b-05e6828c2c43","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.1181958} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9155d532fb3d1ad476d6711384770567","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bf09163c-0d24-4aae-bd64-ae59d6e17b3b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.1248496} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"9155d532fb3d1ad476d6711384770567","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa2f76102-eb6c-409f-9c6b-37c556491d98","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"16e54aec-9577-4fd6-ab0a-1c5e1403679a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.1353893} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"eac748ec-7136-4d75-8118-da729ac63261","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.1356895} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"9155d532fb3d1ad476d6711384770567","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa2f76102-eb6c-409f-9c6b-37c556491d98","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa2f76102-eb6c-409f-9c6b-37c556491d98","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.135370203Z"}]},"request_id":"852e62a7-de62-4072-9396-3e5bf51bbec9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.1402082} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9155d532fb3d1ad476d6711384770567","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"9155d532fb3d1ad476d6711384770567"} device-1 | {"level":"info","message":"POST /devices? 201 49ms","method":"POST","requestID":"9155d532fb3d1ad476d6711384770567","responseTime":49,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"28/Aug/2024:09:10:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"1070","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9155d532fb3d1ad476d6711384770567"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ","level":"info","message":"auth send jwt","requestID":"b53bcfe982977d3028b37f705f709669"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b53bcfe982977d3028b37f705f709669","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"b53bcfe982977d3028b37f705f709669"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":132,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":132,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.736891,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4dfda54e-2fe7-49e5-9933-02dc14c56ce7","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b53bcfe982977d3028b37f705f709669","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/4dfda54e-2fe7-49e5-9933-02dc14c56ce7","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b53bcfe982977d3028b37f705f709669","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4dfda54e-2fe7-49e5-9933-02dc14c56ce7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4dfda54e-2fe7-49e5-9933-02dc14c56ce7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.036716567Z"}]},"request_id":"44f89e4a-332f-4331-a640-9acbdfabc704","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.160927} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b53bcfe982977d3028b37f705f709669","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c4e5dc74-0870-4af0-a6c5-8dd5be103b3f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.1665306} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"b53bcfe982977d3028b37f705f709669","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4dfda54e-2fe7-49e5-9933-02dc14c56ce7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4dfda54e-2fe7-49e5-9933-02dc14c56ce7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.036716567Z"}]},"request_id":"6db80f98-c593-46f8-a251-ec5de51efbc8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.176717} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b53bcfe982977d3028b37f705f709669","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"b53bcfe982977d3028b37f705f709669"} gateway-1 | {"time_local":"28/Aug/2024:09:10:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/4dfda54e-2fe7-49e5-9933-02dc14c56ce7? HTTP/1.1","status": "200","body_bytes_sent":"1141","request_time":"0.034","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b53bcfe982977d3028b37f705f709669"} device-1 | {"level":"info","message":"PATCH /devices/4dfda54e-2fe7-49e5-9933-02dc14c56ce7? 200 29ms","method":"PATCH","requestID":"b53bcfe982977d3028b37f705f709669","responseTime":29,"status":200,"url":"/devices/4dfda54e-2fe7-49e5-9933-02dc14c56ce7?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ","level":"info","message":"auth send jwt","requestID":"e3509d0b5b1031d6f88a07e076abcd68"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"e3509d0b5b1031d6f88a07e076abcd68","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"e3509d0b5b1031d6f88a07e076abcd68"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":133,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":133,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.84987,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/3f313c80-6a21-48cd-a9e7-9eeb47c25d82","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"e3509d0b5b1031d6f88a07e076abcd68","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/3f313c80-6a21-48cd-a9e7-9eeb47c25d82","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e3509d0b5b1031d6f88a07e076abcd68","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3f313c80-6a21-48cd-a9e7-9eeb47c25d82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3f313c80-6a21-48cd-a9e7-9eeb47c25d82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.079724109Z"}]},"request_id":"a6e7915b-0928-4034-ae81-a6ffc2d6c397","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.1954212} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e3509d0b5b1031d6f88a07e076abcd68","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"13695dd1-9edb-4e57-a68b-aad906202f15","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.2011697} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"e3509d0b5b1031d6f88a07e076abcd68","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3f313c80-6a21-48cd-a9e7-9eeb47c25d82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3f313c80-6a21-48cd-a9e7-9eeb47c25d82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.079724109Z"}]},"request_id":"adcda184-5668-4e19-8187-c7ccb3179aed","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.2099829} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e3509d0b5b1031d6f88a07e076abcd68","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"e3509d0b5b1031d6f88a07e076abcd68"} device-1 | {"level":"info","message":"PATCH /devices/3f313c80-6a21-48cd-a9e7-9eeb47c25d82? 200 28ms","method":"PATCH","requestID":"e3509d0b5b1031d6f88a07e076abcd68","responseTime":28,"status":200,"url":"/devices/3f313c80-6a21-48cd-a9e7-9eeb47c25d82?"} gateway-1 | {"time_local":"28/Aug/2024:09:10:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/3f313c80-6a21-48cd-a9e7-9eeb47c25d82? HTTP/1.1","status": "200","body_bytes_sent":"1491","request_time":"0.032","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e3509d0b5b1031d6f88a07e076abcd68"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ","level":"info","message":"auth send jwt","requestID":"8c967ce24a12d3e1410db24c0e9f3bbb"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8c967ce24a12d3e1410db24c0e9f3bbb","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"8c967ce24a12d3e1410db24c0e9f3bbb"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":134,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":134,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.928541,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a2f76102-eb6c-409f-9c6b-37c556491d98","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8c967ce24a12d3e1410db24c0e9f3bbb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/a2f76102-eb6c-409f-9c6b-37c556491d98","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8c967ce24a12d3e1410db24c0e9f3bbb","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa2f76102-eb6c-409f-9c6b-37c556491d98","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa2f76102-eb6c-409f-9c6b-37c556491d98","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.135370203Z"}]},"request_id":"38e8dd55-89b1-47a0-994e-9400045a7d10","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.2299051} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8c967ce24a12d3e1410db24c0e9f3bbb","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2224cc64-c5fc-41f1-9394-5140b4409ba7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.2350192} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"8c967ce24a12d3e1410db24c0e9f3bbb","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa2f76102-eb6c-409f-9c6b-37c556491d98","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa2f76102-eb6c-409f-9c6b-37c556491d98","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.135370203Z"}]},"request_id":"a182c763-bd44-4332-b9a2-c39b6b48ee6a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.249866} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"8c967ce24a12d3e1410db24c0e9f3bbb","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"8c967ce24a12d3e1410db24c0e9f3bbb"} gateway-1 | {"time_local":"28/Aug/2024:09:10:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/a2f76102-eb6c-409f-9c6b-37c556491d98? HTTP/1.1","status": "200","body_bytes_sent":"1142","request_time":"0.039","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8c967ce24a12d3e1410db24c0e9f3bbb"} device-1 | {"level":"info","message":"PATCH /devices/a2f76102-eb6c-409f-9c6b-37c556491d98? 200 34ms","method":"PATCH","requestID":"8c967ce24a12d3e1410db24c0e9f3bbb","responseTime":34,"status":200,"url":"/devices/a2f76102-eb6c-409f-9c6b-37c556491d98?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ","level":"info","message":"auth send jwt","requestID":"63c28625c48df0dc0f2b43b662cbc39c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"63c28625c48df0dc0f2b43b662cbc39c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"63c28625c48df0dc0f2b43b662cbc39c"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":135,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":135,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.745544,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4dfda54e-2fe7-49e5-9933-02dc14c56ce7","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"63c28625c48df0dc0f2b43b662cbc39c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/4dfda54e-2fe7-49e5-9933-02dc14c56ce7","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"63c28625c48df0dc0f2b43b662cbc39c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4dfda54e-2fe7-49e5-9933-02dc14c56ce7","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4dfda54e-2fe7-49e5-9933-02dc14c56ce7","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.036716567Z"}]},"request_id":"34dd6705-65b6-4385-ac0c-0c6ad867b319","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.267314} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"63c28625c48df0dc0f2b43b662cbc39c","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":136,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":136,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.662511,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":137,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":137,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.840778,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1a0ae1af-d2bf-48b2-843e-df49a267b589","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"63c28625c48df0dc0f2b43b662cbc39c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/1a0ae1af-d2bf-48b2-843e-df49a267b589","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"63c28625c48df0dc0f2b43b662cbc39c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5fd6a79b-b2c8-48a8-b98f-87b6084a49d0","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"63c28625c48df0dc0f2b43b662cbc39c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/5fd6a79b-b2c8-48a8-b98f-87b6084a49d0","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"63c28625c48df0dc0f2b43b662cbc39c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":138,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":138,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.184862,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":139,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8e3d05e9-3964-4b9a-b0f5-e37402bed50b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"63c28625c48df0dc0f2b43b662cbc39c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/8e3d05e9-3964-4b9a-b0f5-e37402bed50b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"63c28625c48df0dc0f2b43b662cbc39c","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":139,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.97318,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3f313c80-6a21-48cd-a9e7-9eeb47c25d82","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"63c28625c48df0dc0f2b43b662cbc39c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/3f313c80-6a21-48cd-a9e7-9eeb47c25d82","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"63c28625c48df0dc0f2b43b662cbc39c","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"63c28625c48df0dc0f2b43b662cbc39c"} gateway-1 | {"time_local":"28/Aug/2024:09:10:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4dfda54e-2fe7-49e5-9933-02dc14c56ce7? HTTP/1.1","status": "200","body_bytes_sent":"1141","request_time":"0.034","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"63c28625c48df0dc0f2b43b662cbc39c"} device-1 | {"level":"info","message":"GET /devices/4dfda54e-2fe7-49e5-9933-02dc14c56ce7? 200 29ms","method":"GET","requestID":"63c28625c48df0dc0f2b43b662cbc39c","responseTime":29,"status":200,"url":"/devices/4dfda54e-2fe7-49e5-9933-02dc14c56ce7?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ","level":"info","message":"auth send jwt","requestID":"4de6c02a31d604545a53349497ed370f"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"4de6c02a31d604545a53349497ed370f","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4de6c02a31d604545a53349497ed370f"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":140,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":140,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.709963,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3f313c80-6a21-48cd-a9e7-9eeb47c25d82","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"4de6c02a31d604545a53349497ed370f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/3f313c80-6a21-48cd-a9e7-9eeb47c25d82","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4de6c02a31d604545a53349497ed370f","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3f313c80-6a21-48cd-a9e7-9eeb47c25d82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3f313c80-6a21-48cd-a9e7-9eeb47c25d82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.079724109Z"}]},"request_id":"b8d169bf-e93a-4fc2-b9d4-749c0d197d68","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.300212} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4de6c02a31d604545a53349497ed370f","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":141,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":141,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.981069,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":142,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":142,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.550508,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":143,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":143,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.42494,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":144,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":144,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.688458,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3d48ae11-dbd9-44a0-a7cd-6d755f3a378d","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"4de6c02a31d604545a53349497ed370f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/3d48ae11-dbd9-44a0-a7cd-6d755f3a378d","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4de6c02a31d604545a53349497ed370f","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/18a88c01-9cdd-4645-bbfd-7eafd79a8196","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"4de6c02a31d604545a53349497ed370f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/18a88c01-9cdd-4645-bbfd-7eafd79a8196","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4de6c02a31d604545a53349497ed370f","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/663d178e-71da-4228-8297-39a6bdeadf05","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"4de6c02a31d604545a53349497ed370f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/663d178e-71da-4228-8297-39a6bdeadf05","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4de6c02a31d604545a53349497ed370f","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0b3d6365-8f7c-4bc0-9bdc-20e03e97c0e3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"4de6c02a31d604545a53349497ed370f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/0b3d6365-8f7c-4bc0-9bdc-20e03e97c0e3","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"4de6c02a31d604545a53349497ed370f","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":145,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":145,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.737463,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":146,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4dfda54e-2fe7-49e5-9933-02dc14c56ce7","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"4de6c02a31d604545a53349497ed370f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/4dfda54e-2fe7-49e5-9933-02dc14c56ce7","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4de6c02a31d604545a53349497ed370f","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":146,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.810161,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a2f76102-eb6c-409f-9c6b-37c556491d98","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"4de6c02a31d604545a53349497ed370f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/a2f76102-eb6c-409f-9c6b-37c556491d98","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4de6c02a31d604545a53349497ed370f","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"4de6c02a31d604545a53349497ed370f"} device-1 | {"level":"info","message":"GET /devices/3f313c80-6a21-48cd-a9e7-9eeb47c25d82? 200 30ms","method":"GET","requestID":"4de6c02a31d604545a53349497ed370f","responseTime":30,"status":200,"url":"/devices/3f313c80-6a21-48cd-a9e7-9eeb47c25d82?"} gateway-1 | {"time_local":"28/Aug/2024:09:10:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/3f313c80-6a21-48cd-a9e7-9eeb47c25d82? HTTP/1.1","status": "200","body_bytes_sent":"1491","request_time":"0.034","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4de6c02a31d604545a53349497ed370f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ","level":"info","message":"auth send jwt","requestID":"39881ef1b0d5b010ca03b2e949bbd697"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"39881ef1b0d5b010ca03b2e949bbd697","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"39881ef1b0d5b010ca03b2e949bbd697"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":147,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":147,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.889679,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a2f76102-eb6c-409f-9c6b-37c556491d98","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"39881ef1b0d5b010ca03b2e949bbd697","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/a2f76102-eb6c-409f-9c6b-37c556491d98","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"39881ef1b0d5b010ca03b2e949bbd697","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa2f76102-eb6c-409f-9c6b-37c556491d98","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa2f76102-eb6c-409f-9c6b-37c556491d98","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.135370203Z"}]},"request_id":"e06be1bc-7ae1-4d8b-b303-874dfdf155c5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.3375123} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"39881ef1b0d5b010ca03b2e949bbd697","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Received request.","req_id":148,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:45454","level":"info","msg":"Sent response.","req_id":148,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.918472,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Received request.","req_id":149,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:35996","level":"info","msg":"Sent response.","req_id":149,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.806213,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":150,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":150,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.640195,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":151,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/df17999b-1fd6-4073-82d6-01869d4050fb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"39881ef1b0d5b010ca03b2e949bbd697","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/df17999b-1fd6-4073-82d6-01869d4050fb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"39881ef1b0d5b010ca03b2e949bbd697","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e72d43c7-cf0a-4e0e-a8eb-b6da54dab492","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"39881ef1b0d5b010ca03b2e949bbd697","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/e72d43c7-cf0a-4e0e-a8eb-b6da54dab492","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"39881ef1b0d5b010ca03b2e949bbd697","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2cde2177-07bb-4920-bf60-3fe797ddd530","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"39881ef1b0d5b010ca03b2e949bbd697","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/2cde2177-07bb-4920-bf60-3fe797ddd530","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"39881ef1b0d5b010ca03b2e949bbd697","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":151,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.747104,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4dfda54e-2fe7-49e5-9933-02dc14c56ce7","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"39881ef1b0d5b010ca03b2e949bbd697","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/4dfda54e-2fe7-49e5-9933-02dc14c56ce7","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"39881ef1b0d5b010ca03b2e949bbd697","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"39881ef1b0d5b010ca03b2e949bbd697"} gateway-1 | {"time_local":"28/Aug/2024:09:10:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a2f76102-eb6c-409f-9c6b-37c556491d98? HTTP/1.1","status": "200","body_bytes_sent":"1142","request_time":"0.028","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"39881ef1b0d5b010ca03b2e949bbd697"} device-1 | {"level":"info","message":"GET /devices/a2f76102-eb6c-409f-9c6b-37c556491d98? 200 24ms","method":"GET","requestID":"39881ef1b0d5b010ca03b2e949bbd697","responseTime":24,"status":200,"url":"/devices/a2f76102-eb6c-409f-9c6b-37c556491d98?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ","level":"info","message":"auth send jwt","requestID":"7a32613e648432f655ee03ebb60b5aaa"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7a32613e648432f655ee03ebb60b5aaa","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"7a32613e648432f655ee03ebb60b5aaa"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":152,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":152,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.445696,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7a32613e648432f655ee03ebb60b5aaa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7a32613e648432f655ee03ebb60b5aaa","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a433d00-31a5-48aa-8b8f-e9c7de47e07c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"1ba5f6dd-beb7-4d28-95ab-170837cff569","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.3790476} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7a32613e648432f655ee03ebb60b5aaa","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"76370322-9399-4c5e-b70b-e73d6c695ad3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.3837166} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"7a32613e648432f655ee03ebb60b5aaa","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a433d00-31a5-48aa-8b8f-e9c7de47e07c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"d445abdc-9420-46ee-b8f3-23c52232f9c4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.394423} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"35f7a9a7-04d4-42fb-a19c-73ac660a921f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.3946335} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"7a32613e648432f655ee03ebb60b5aaa","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a433d00-31a5-48aa-8b8f-e9c7de47e07c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a433d00-31a5-48aa-8b8f-e9c7de47e07c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.394407583Z"}]},"request_id":"941dd30d-00e9-4d66-b33c-51ffbf822b74","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.3993285} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7a32613e648432f655ee03ebb60b5aaa","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"7a32613e648432f655ee03ebb60b5aaa"} gateway-1 | {"time_local":"28/Aug/2024:09:10:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"284","request_time":"0.044","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7a32613e648432f655ee03ebb60b5aaa"} device-1 | {"level":"info","message":"POST /devices? 201 40ms","method":"POST","requestID":"7a32613e648432f655ee03ebb60b5aaa","responseTime":40,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ","level":"info","message":"auth send jwt","requestID":"641cecbf5e86944cdf4f5629a2015462"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"641cecbf5e86944cdf4f5629a2015462","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"641cecbf5e86944cdf4f5629a2015462"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":153,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":153,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.765359,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"641cecbf5e86944cdf4f5629a2015462","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"641cecbf5e86944cdf4f5629a2015462","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94aa54a0-e955-4cf4-8f86-47d000e0d35c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"92a85cae-60de-4ca3-8885-8d924d967038","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.4222295} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"641cecbf5e86944cdf4f5629a2015462","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8ff28b94-260d-4eec-beec-ef2e41d939d1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.4267714} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"641cecbf5e86944cdf4f5629a2015462","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94aa54a0-e955-4cf4-8f86-47d000e0d35c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"fd95a9f5-b17b-427e-88c9-9a0b003ed193","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.4377398} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0f1632e6-f159-4bb8-a599-2468bcc43ac8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.4379885} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"641cecbf5e86944cdf4f5629a2015462","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94aa54a0-e955-4cf4-8f86-47d000e0d35c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94aa54a0-e955-4cf4-8f86-47d000e0d35c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.437723970Z"}]},"request_id":"d3b59c7c-5056-4223-aac7-595640236a90","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.448344} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"641cecbf5e86944cdf4f5629a2015462","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"641cecbf5e86944cdf4f5629a2015462"} gateway-1 | {"time_local":"28/Aug/2024:09:10:58 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"545","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"641cecbf5e86944cdf4f5629a2015462"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"641cecbf5e86944cdf4f5629a2015462","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ","level":"info","message":"auth send jwt","requestID":"47154932354bdd2f79be1696459b9318"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"47154932354bdd2f79be1696459b9318","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"47154932354bdd2f79be1696459b9318"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":154,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":154,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.822747,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:10:58Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"47154932354bdd2f79be1696459b9318","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836258,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI1OH0.wxZcNnbjbrjW7PSH6LXP3ApEix44QybF7jI6Snq3hHQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"47154932354bdd2f79be1696459b9318","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a3c01ad-ceab-4bcd-b594-5154eb940de6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ffbb340d-66f4-4433-ab80-7964294d3a2b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.4840596} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"47154932354bdd2f79be1696459b9318","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9f658864-9602-4728-8902-36af0b9199a9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.4892824} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"47154932354bdd2f79be1696459b9318","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a3c01ad-ceab-4bcd-b594-5154eb940de6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"a4d9871b-ffbd-4ede-a552-47c7083e4a99","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.4996562} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f7dc948c-6dd8-4506-9a21-c9a57e086b37","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.4999442} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"47154932354bdd2f79be1696459b9318","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a3c01ad-ceab-4bcd-b594-5154eb940de6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a3c01ad-ceab-4bcd-b594-5154eb940de6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.499632843Z"}]},"request_id":"726f68cd-dad8-4357-a3aa-18f52156591b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836258.5048656} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"47154932354bdd2f79be1696459b9318","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"47154932354bdd2f79be1696459b9318"} gateway-1 | {"time_local":"28/Aug/2024:09:10: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.054","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"47154932354bdd2f79be1696459b9318"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"47154932354bdd2f79be1696459b9318","responseTime":48,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fc8f1755fe91067509ae6b727e3fc929","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"fc8f1755fe91067509ae6b727e3fc929","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c/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":"fc8f1755fe91067509ae6b727e3fc929"} device-1 | {"level":"info","message":"OPTIONS /devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c/websocket 200 1ms","method":"OPTIONS","requestID":"fc8f1755fe91067509ae6b727e3fc929","responseTime":1,"status":200,"url":"/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c/websocket"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6518202d2b04ea570fbfc22fc9032b0f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"6518202d2b04ea570fbfc22fc9032b0f","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg","level":"info","message":"auth send jwt","requestID":"4632cb1f0f637b4a9d5ac1bb1d262288"} gateway-1 | {"time_local":"28/Aug/2024:09:11:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6/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":"6518202d2b04ea570fbfc22fc9032b0f"} device-1 | {"level":"info","message":"OPTIONS /devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6/websocket 200 1ms","method":"OPTIONS","requestID":"6518202d2b04ea570fbfc22fc9032b0f","responseTime":1,"status":200,"url":"/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6/websocket"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"4632cb1f0f637b4a9d5ac1bb1d262288","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"4632cb1f0f637b4a9d5ac1bb1d262288"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":155,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":155,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.899167,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg","level":"info","message":"auth send jwt","requestID":"81cb14a0c7905caf47b7cc4a4b194e0c"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"4632cb1f0f637b4a9d5ac1bb1d262288","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836260,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"81cb14a0c7905caf47b7cc4a4b194e0c","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4632cb1f0f637b4a9d5ac1bb1d262288","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"81cb14a0c7905caf47b7cc4a4b194e0c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":156,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":156,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.773002,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"81cb14a0c7905caf47b7cc4a4b194e0c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836260,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"81cb14a0c7905caf47b7cc4a4b194e0c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"4632cb1f0f637b4a9d5ac1bb1d262288"} gateway-1 | {"time_local":"28/Aug/2024:09:11:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.048","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"4632cb1f0f637b4a9d5ac1bb1d262288"} device-1 | {"level":"info","message":"POST /devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c/websocket 200 41ms","method":"POST","requestID":"4632cb1f0f637b4a9d5ac1bb1d262288","responseTime":41,"status":200,"url":"/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"81cb14a0c7905caf47b7cc4a4b194e0c"} gateway-1 | {"time_local":"28/Aug/2024:09:11:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.050","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"81cb14a0c7905caf47b7cc4a4b194e0c"} device-1 | {"level":"info","message":"POST /devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6/websocket 200 44ms","method":"POST","requestID":"81cb14a0c7905caf47b7cc4a4b194e0c","responseTime":44,"status":200,"url":"/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg","level":"info","message":"auth send jwt","requestID":"cfc423ecf2028fe2025c14ade25ad6e0"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"cfc423ecf2028fe2025c14ade25ad6e0","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"cfc423ecf2028fe2025c14ade25ad6e0"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":157,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":157,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.915764,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"cfc423ecf2028fe2025c14ade25ad6e0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836260,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"cfc423ecf2028fe2025c14ade25ad6e0","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a3c01ad-ceab-4bcd-b594-5154eb940de6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a3c01ad-ceab-4bcd-b594-5154eb940de6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.499632843Z"}]},"request_id":"272f249a-3f4e-4e73-9d1c-00e2045b2751","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836260.5405853} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"cfc423ecf2028fe2025c14ade25ad6e0","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"cfc423ecf2028fe2025c14ade25ad6e0"} gateway-1 | {"time_local":"28/Aug/2024:09:11:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6? 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":"cfc423ecf2028fe2025c14ade25ad6e0"} device-1 | {"level":"info","message":"GET /devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6? 200 13ms","method":"GET","requestID":"cfc423ecf2028fe2025c14ade25ad6e0","responseTime":13,"status":200,"url":"/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg","level":"info","message":"auth send jwt","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ddbc9ff697b7764a1192614c4fcd055d","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":158,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":158,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.663774,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ddbc9ff697b7764a1192614c4fcd055d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836260,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ddbc9ff697b7764a1192614c4fcd055d","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3"},"level":"info","message":"Attempting to run experiment","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3"},"level":"info","message":"Attempting to book experiment","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3"},"level":"info","message":"Successfully booked experiment","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"71951f70-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"71956d90-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":159,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":159,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.745922,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":160,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/94aa54a0-e955-4cf4-8f86-47d000e0d35c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"71951f70-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/94aa54a0-e955-4cf4-8f86-47d000e0d35c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836260,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"71951f70-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":160,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.724694,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"71956d90-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836260,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"71956d90-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94aa54a0-e955-4cf4-8f86-47d000e0d35c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F94aa54a0-e955-4cf4-8f86-47d000e0d35c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.437723970Z"}]},"request_id":"ef9e4d51-f415-4fa4-8fff-4bb153a0b323","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836260.5923924} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"71951f70-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a3c01ad-ceab-4bcd-b594-5154eb940de6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a3c01ad-ceab-4bcd-b594-5154eb940de6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.499632843Z"}]},"request_id":"b7afb34f-b415-49b8-9bce-b314e716901b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836260.5940337} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"71956d90-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"71956d90-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6? 200 16ms","method":"GET","requestID":"71956d90-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6?"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":161,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":161,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.918088,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"71951f70-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836260,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"71951f70-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"71951f70-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/94aa54a0-e955-4cf4-8f86-47d000e0d35c? 200 23ms","method":"GET","requestID":"71951f70-651d-11ef-83ce-bd5a3df00b5c","responseTime":23,"status":200,"url":"/devices/94aa54a0-e955-4cf4-8f86-47d000e0d35c?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3"},"level":"info","message":"Setting up experiment","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3"},"level":"info","message":"Successfully locked booking for experiment","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3"},"level":"info","message":"Attempting to update booking for experiment","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3"},"level":"info","message":"Successfully updated booking for experiment","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3"},"level":"info","message":"Successfully set up experiment","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"719f0a80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"719f58a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"719f7fb0-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3"},"level":"info","message":"Successfully running experiment","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":162,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":162,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.99364,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":163,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"719f0a80-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836260,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"719f0a80-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":163,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.823337,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":164,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"719f58a0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836260,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"719f58a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":164,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.817049,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a433d00-31a5-48aa-8b8f-e9c7de47e07c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3cf9f663-9e13-4799-ac1b-d9e301ccdda0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836260.658446} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"719f7fb0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c","object_type":"device","rebac_allow":false,"scope_allow":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":"719f7fb0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a433d00-31a5-48aa-8b8f-e9c7de47e07c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a433d00-31a5-48aa-8b8f-e9c7de47e07c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.394407583Z"}]},"request_id":"893be1f1-fe13-435f-891c-c337416a7cc4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836260.6612377} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"719f0a80-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a3c01ad-ceab-4bcd-b594-5154eb940de6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a3c01ad-ceab-4bcd-b594-5154eb940de6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.499632843Z"}]},"request_id":"941215aa-13c6-4033-a7c6-be6eed276203","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836260.6638174} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"719f58a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"719f7fb0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c/signaling 200 15ms","method":"POST","requestID":"719f7fb0-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"71a28cf0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"719f0a80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c? 200 27ms","method":"GET","requestID":"719f0a80-651d-11ef-83ce-bd5a3df00b5c","responseTime":27,"status":200,"url":"/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"719f58a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6? 200 26ms","method":"GET","requestID":"719f58a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":26,"status":200,"url":"/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6?"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":165,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a3c01ad-ceab-4bcd-b594-5154eb940de6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"016276a9-8211-4d6b-9980-2853091521e8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836260.677296} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F43ef9305-bb9b-44f0-a704-fc2431e976f3#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F43ef9305-bb9b-44f0-a704-fc2431e976f3","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"0aefd689-5347-431b-ab93-eff61f31be32","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836260.6775599} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":165,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.467978,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"71a28cf0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6","object_type":"device","rebac_allow":false,"scope_allow":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":"71a28cf0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a4777a7d-ba1f-41ff-9371-5a48d48d818d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836260.678883} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"71a3ec80-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /relations/update 200 26ms","method":"POST","requestID":"ddbc9ff697b7764a1192614c4fcd055d","responseTime":26,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":166,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a433d00-31a5-48aa-8b8f-e9c7de47e07c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5a405437-de6d-43cd-aa29-967b688cc7a1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836260.6860192} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"71a28cf0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6/signaling 200 16ms","method":"POST","requestID":"71a28cf0-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6/signaling"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":166,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.321287,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"71a3ec80-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c","object_type":"device","rebac_allow":false,"scope_allow":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":"71a3ec80-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} gateway-1 | {"time_local":"28/Aug/2024:09:11:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"807","request_time":"0.146","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} experiment-1 | {"level":"info","message":"POST /experiments? 201 143ms","method":"POST","requestID":"ddbc9ff697b7764a1192614c4fcd055d","responseTime":143,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"71a3ec80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c/signaling 200 18ms","method":"POST","requestID":"71a3ec80-651d-11ef-83ce-bd5a3df00b5c","responseTime":18,"status":200,"url":"/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg","level":"info","message":"auth send jwt","requestID":"142258a525c1326299ef6ed5e4eace12"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"142258a525c1326299ef6ed5e4eace12","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"142258a525c1326299ef6ed5e4eace12"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"71a76ef0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":167,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":167,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.259566,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"142258a525c1326299ef6ed5e4eace12","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836260,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"142258a525c1326299ef6ed5e4eace12","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":168,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a3c01ad-ceab-4bcd-b594-5154eb940de6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c51f5069-0cc2-41b8-b79b-cfcefec91a8c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836260.7128918} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":168,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.354782,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"71a76ef0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6","object_type":"device","rebac_allow":false,"scope_allow":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":"71a76ef0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a433d00-31a5-48aa-8b8f-e9c7de47e07c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a433d00-31a5-48aa-8b8f-e9c7de47e07c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.394407583Z"}]},"request_id":"b45d11a2-8a9c-4920-943a-6cffe5a11577","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836260.716315} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"142258a525c1326299ef6ed5e4eace12","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"71a76ef0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6/signaling 200 20ms","method":"POST","requestID":"71a76ef0-651d-11ef-83ce-bd5a3df00b5c","responseTime":20,"status":200,"url":"/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"142258a525c1326299ef6ed5e4eace12"} gateway-1 | {"time_local":"28/Aug/2024:09:11:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c? HTTP/1.1","status": "200","body_bytes_sent":"283","request_time":"0.029","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"142258a525c1326299ef6ed5e4eace12"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} device-1 | {"level":"info","message":"GET /devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c? 200 24ms","method":"GET","requestID":"142258a525c1326299ef6ed5e4eace12","responseTime":24,"status":200,"url":"/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3"},"level":"info","message":"Building connection plan","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"eb6c6950-e9f2-4af6-8a06-80a21193723e"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"61bffe58-bb97-4f6f-aac0-d3e3a4a5a71c"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"718f9b2e-9ad3-4187-8607-a693869412ca"}]},"level":"info","message":"Built pairwise service configurations","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"71aaf160-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":169,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg","level":"info","message":"auth send jwt","requestID":"b9fb1af666bf7855ec6c857e35ad2c0b"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":169,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.718929,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b9fb1af666bf7855ec6c857e35ad2c0b","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"71aaf160-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836260,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b9fb1af666bf7855ec6c857e35ad2c0b"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"71aaf160-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":170,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":170,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.896874,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b9fb1af666bf7855ec6c857e35ad2c0b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836260,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b9fb1af666bf7855ec6c857e35ad2c0b","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"a027f673-b59a-49c2-a0c8-621850ecef37","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836260.7414103} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"301fea64-7c2c-44ef-a0da-9c51adfef4a0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836260.7416651} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"71aaf160-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a3c01ad-ceab-4bcd-b594-5154eb940de6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a3c01ad-ceab-4bcd-b594-5154eb940de6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:10:58.499632843Z"}]},"request_id":"f6e85746-2d3d-4a8c-825a-4fb48d0197d9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836260.7424552} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b9fb1af666bf7855ec6c857e35ad2c0b","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b9fb1af666bf7855ec6c857e35ad2c0b"} device-1 | {"level":"info","message":"GET /devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6? 200 25ms","method":"GET","requestID":"b9fb1af666bf7855ec6c857e35ad2c0b","responseTime":25,"status":200,"url":"/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6?"} gateway-1 | {"time_local":"28/Aug/2024:09:11:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6? 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":"b9fb1af666bf7855ec6c857e35ad2c0b"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"71aaf160-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"71aaf160-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/e99884fd-5a73-46c9-8281-98ba2a2fc365'","requestID":"71aaf160-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/e99884fd-5a73-46c9-8281-98ba2a2fc365'","requestID":"71aaf160-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"71aaf160-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 33ms","method":"POST","requestID":"71aaf160-651d-11ef-83ce-bd5a3df00b5c","responseTime":33,"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":"71aaf160-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/e99884fd-5a73-46c9-8281-98ba2a2fc365","device":"9a433d00-31a5-48aa-8b8f-e9c7de47e07c","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/e99884fd-5a73-46c9-8281-98ba2a2fc365","device":"9a3c01ad-ceab-4bcd-b594-5154eb940de6","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/43ef9305-bb9b-44f0-a704-fc2431e976f3"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"ddbc9ff697b7764a1192614c4fcd055d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"71b46740-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":171,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a433d00-31a5-48aa-8b8f-e9c7de47e07c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"48277944-0158-46ee-9ce9-151eced616c2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836260.7927396} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":171,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.40601,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"71b46740-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c","object_type":"device","rebac_allow":false,"scope_allow":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":"71b46740-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"71b46740-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c/signaling 200 12ms","method":"POST","requestID":"71b46740-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c/signaling"} device-1 | {"device":"9a3c01ad-ceab-4bcd-b594-5154eb940de6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"9a3c01ad-ceab-4bcd-b594-5154eb940de6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"9a433d00-31a5-48aa-8b8f-e9c7de47e07c","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"9a433d00-31a5-48aa-8b8f-e9c7de47e07c","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"71b6b130-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":172,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a3c01ad-ceab-4bcd-b594-5154eb940de6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"48e68717-a55a-42e8-b7cc-77c868f4d183","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836260.8088531} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":172,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.604419,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"71b6b130-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6","object_type":"device","rebac_allow":false,"scope_allow":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":"71b6b130-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"content":{"sdp":"v=0\r\no=- 5078102302423525289 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:5S0P\r\na=ice-pwd:pNThBxtG/n0IUyGHwUv2SpCZ\r\na=ice-options:trickle\r\na=fingerprint:sha-256 4F:31:5D:87:D3:E7:BE:98:FE:97:99:29:6C:D7:DD:45:91:B3:44:A4:BB:76:1E:11:45:90:94:22:60:CE:DE:CC\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"9a3c01ad-ceab-4bcd-b594-5154eb940de6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"71b6b130-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6/signaling 200 20ms","method":"POST","requestID":"71b6b130-651d-11ef-83ce-bd5a3df00b5c","responseTime":20,"status":200,"url":"/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 8775495671006979974 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:TXRx\r\na=ice-pwd:7XfMdpiZhNTDeqyYDrW4Zd02\r\na=ice-options:trickle\r\na=fingerprint:sha-256 D4:A5:43:7C:02:1E:F4:8B:89:E6:BA:BB:4B:17:DA:32:00:70:D2:50:8B:F8:69:D3:3D:B5:8E:64:4D:D0:C0:D6\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"9a433d00-31a5-48aa-8b8f-e9c7de47e07c","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:631008706 1 udp 2113937151 c10ebd90-51e4-42e9-a2f8-0176f4b79131.local 50784 typ host generation 0 ufrag TXRx network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"9a433d00-31a5-48aa-8b8f-e9c7de47e07c","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:767829509 1 udp 1677729535 141.24.211.56 50784 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag TXRx network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"9a433d00-31a5-48aa-8b8f-e9c7de47e07c","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/9a433d00-31a5-48aa-8b8f-e9c7de47e07c'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c'"} device-1 | {"content":{"candidate":"candidate:2895987013 1 udp 2113937151 9b34ff91-c15b-446c-91cc-c4e93c75f0d6.local 41135 typ host generation 0 ufrag 5S0P network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"9a3c01ad-ceab-4bcd-b594-5154eb940de6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2764376706 1 udp 1677729535 141.24.211.56 41135 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 5S0P network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"9a3c01ad-ceab-4bcd-b594-5154eb940de6","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/9a3c01ad-ceab-4bcd-b594-5154eb940de6'"} device-1 | {"device":"9a3c01ad-ceab-4bcd-b594-5154eb940de6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"9a433d00-31a5-48aa-8b8f-e9c7de47e07c","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/e99884fd-5a73-46c9-8281-98ba2a2fc365' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e99884fd-5a73-46c9-8281-98ba2a2fc365","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"19db513973559aa2a577ab92fa8e70da","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"19db513973559aa2a577ab92fa8e70da","responseTime":1,"status":200,"url":"/auth"} device-1 | {"device":"9a3c01ad-ceab-4bcd-b594-5154eb940de6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"9a3c01ad-ceab-4bcd-b594-5154eb940de6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"9a433d00-31a5-48aa-8b8f-e9c7de47e07c","deviceName":"Internal Test Device","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/9a433d00-31a5-48aa-8b8f-e9c7de47e07c"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/e99884fd-5a73-46c9-8281-98ba2a2fc365"}}},"level":"info","message":"received a callback","requestID":"19db513973559aa2a577ab92fa8e70da"} device-1 | {"device":"9a433d00-31a5-48aa-8b8f-e9c7de47e07c","deviceName":"Internal Test Device","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"9a433d00-31a5-48aa-8b8f-e9c7de47e07c","deviceName":"Internal Test Device","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} gateway-1 | {"time_local":"28/Aug/2024:09:11:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch","requestID":"19db513973559aa2a577ab92fa8e70da"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"19db513973559aa2a577ab92fa8e70da","responseTime":8,"status":200,"url":"/callbacks/experiment"} device-1 | {"data":{"peerconnection":"e99884fd-5a73-46c9-8281-98ba2a2fc365","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"e99884fd-5a73-46c9-8281-98ba2a2fc365","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/e99884fd-5a73-46c9-8281-98ba2a2fc365' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e99884fd-5a73-46c9-8281-98ba2a2fc365","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"078eca42f8e66cddec5d47b0b435f400","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"078eca42f8e66cddec5d47b0b435f400","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/9a433d00-31a5-48aa-8b8f-e9c7de47e07c"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/e99884fd-5a73-46c9-8281-98ba2a2fc365"}}},"level":"info","message":"received a callback","requestID":"078eca42f8e66cddec5d47b0b435f400"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"71c7a120-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":173,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe99884fd-5a73-46c9-8281-98ba2a2fc365","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"03a4c47d-da4a-4462-8436-f83f68618185","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836260.9195416} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":173,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.217345,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/e99884fd-5a73-46c9-8281-98ba2a2fc365","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"71c7a120-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/e99884fd-5a73-46c9-8281-98ba2a2fc365","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":"71c7a120-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"71c7a120-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/e99884fd-5a73-46c9-8281-98ba2a2fc365 200 9ms","method":"GET","requestID":"71c7a120-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/peerconnections/e99884fd-5a73-46c9-8281-98ba2a2fc365"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 36ms","method":"POST","requestID":"078eca42f8e66cddec5d47b0b435f400","responseTime":36,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.039","http_referrer":"","http_user_agent":"node-fetch","requestID":"078eca42f8e66cddec5d47b0b435f400"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"71cc5c10-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":174,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a433d00-31a5-48aa-8b8f-e9c7de47e07c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d1f4dd5b-5927-4383-b8b5-5ce63362ff8d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836260.9502218} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":174,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.856966,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"71cc5c10-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"71cc5c10-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"71cc5c10-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c/signaling 200 9ms","method":"POST","requestID":"71cc5c10-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"71ce09c0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":175,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a3c01ad-ceab-4bcd-b594-5154eb940de6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"63562005-7f04-42e3-9499-efe83c775dc8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836260.9609766} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":175,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.388989,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"71ce09c0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"71ce09c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"71ce09c0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6/signaling 200 10ms","method":"POST","requestID":"71ce09c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg","level":"info","message":"auth send jwt","requestID":"115195f8a18fa068250052ca2e4eb515"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"115195f8a18fa068250052ca2e4eb515","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3","requestID":"115195f8a18fa068250052ca2e4eb515"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":176,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":176,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.664742,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"115195f8a18fa068250052ca2e4eb515","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836260,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"115195f8a18fa068250052ca2e4eb515","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3","requestID":"115195f8a18fa068250052ca2e4eb515"} gateway-1 | {"time_local":"28/Aug/2024:09:11:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3 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":"115195f8a18fa068250052ca2e4eb515"} experiment-1 | {"level":"info","message":"GET /experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3 200 10ms","method":"GET","requestID":"115195f8a18fa068250052ca2e4eb515","responseTime":10,"status":200,"url":"/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg","level":"info","message":"auth send jwt","requestID":"f8a5a8961b97c2db4fb4e26d1786417d"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"f8a5a8961b97c2db4fb4e26d1786417d","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3","requestID":"f8a5a8961b97c2db4fb4e26d1786417d"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":177,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":177,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.67072,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"f8a5a8961b97c2db4fb4e26d1786417d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836260,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f8a5a8961b97c2db4fb4e26d1786417d","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3"},"level":"info","message":"Attempting to finish experiment","requestID":"f8a5a8961b97c2db4fb4e26d1786417d"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"71d3d620-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":178,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":178,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.701162,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:00Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/e99884fd-5a73-46c9-8281-98ba2a2fc365","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"71d3d620-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/e99884fd-5a73-46c9-8281-98ba2a2fc365","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836260,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MH0.8_h7T7BkIRhWJJ_VnHmTPktm1REm8IWe8cgORI6niLg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"71d3d620-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/e99884fd-5a73-46c9-8281-98ba2a2fc365","device":"9a3c01ad-ceab-4bcd-b594-5154eb940de6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/e99884fd-5a73-46c9-8281-98ba2a2fc365","device":"9a433d00-31a5-48aa-8b8f-e9c7de47e07c","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/e99884fd-5a73-46c9-8281-98ba2a2fc365' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/e99884fd-5a73-46c9-8281-98ba2a2fc365' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e99884fd-5a73-46c9-8281-98ba2a2fc365","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"087866749d4dca0044de0783f4e5eaa5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"087866749d4dca0044de0783f4e5eaa5","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2eede21fcc3b8797be03e8124410c5f6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c773c837-a5be-49bf-a182-73a44f76c2c4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836261.011122} 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/9a433d00-31a5-48aa-8b8f-e9c7de47e07c"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/e99884fd-5a73-46c9-8281-98ba2a2fc365"}}},"level":"info","message":"received a callback","requestID":"087866749d4dca0044de0783f4e5eaa5"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe99884fd-5a73-46c9-8281-98ba2a2fc365': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe99884fd-5a73-46c9-8281-98ba2a2fc365","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"a92cbcfb-4183-4f85-95b0-92dd1ec2ee93","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836261.0115683} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"71d3d620-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"2eede21fcc3b8797be03e8124410c5f6","responseTime":3,"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/9a433d00-31a5-48aa-8b8f-e9c7de47e07c"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/e99884fd-5a73-46c9-8281-98ba2a2fc365"}}},"level":"info","message":"received a callback","requestID":"2eede21fcc3b8797be03e8124410c5f6"} device-1 | {"data":{"peerconnection":"e99884fd-5a73-46c9-8281-98ba2a2fc365","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"71d3d620-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/e99884fd-5a73-46c9-8281-98ba2a2fc365 204 39ms","method":"DELETE","requestID":"71d3d620-651d-11ef-83ce-bd5a3df00b5c","responseTime":39,"status":204,"url":"/peerconnections/e99884fd-5a73-46c9-8281-98ba2a2fc365"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3"},"level":"info","message":"Successfully finished experiment","requestID":"f8a5a8961b97c2db4fb4e26d1786417d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"71dd9a20-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":179,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:01Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a433d00-31a5-48aa-8b8f-e9c7de47e07c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d7f70b59-c6b2-4a7f-b513-d083156e76aa","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836261.0627618} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":179,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.503875,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"71dd9a20-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"71dd9a20-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"71dd9a20-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c/signaling 200 9ms","method":"POST","requestID":"71dd9a20-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"71df47d0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F43ef9305-bb9b-44f0-a704-fc2431e976f3': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F43ef9305-bb9b-44f0-a704-fc2431e976f3","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"109ffbb8-65ea-4949-aafc-0675030b7d07","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836261.0712152} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fef936af-25f6-45a0-862c-83dcc1f459f1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836261.0714695} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"f8a5a8961b97c2db4fb4e26d1786417d","responseTime":17,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":180,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:01Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F9a3c01ad-ceab-4bcd-b594-5154eb940de6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3378b875-3d49-45ae-ac65-6f7184520948","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836261.0739613} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":180,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.741211,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:01Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"71df47d0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"71df47d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"71df47d0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6/signaling 200 10ms","method":"POST","requestID":"71df47d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3","requestID":"f8a5a8961b97c2db4fb4e26d1786417d"} gateway-1 | {"time_local":"28/Aug/2024:09:11:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.151","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f8a5a8961b97c2db4fb4e26d1786417d"} experiment-1 | {"level":"info","message":"DELETE /experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3 204 149ms","method":"DELETE","requestID":"f8a5a8961b97c2db4fb4e26d1786417d","responseTime":149,"status":204,"url":"/experiments/43ef9305-bb9b-44f0-a704-fc2431e976f3"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.130","http_referrer":"","http_user_agent":"node-fetch","requestID":"087866749d4dca0044de0783f4e5eaa5"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MX0.uOhH1OCE_aOhHfZ5Hq0Am8ob1Mo6nK9ditYoN_9hmE8","level":"info","message":"auth send jwt","requestID":"3bcf3b242f16ac0e0ec53a8103d406a0"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 127ms","method":"POST","requestID":"087866749d4dca0044de0783f4e5eaa5","responseTime":127,"status":200,"url":"/callbacks/experiment"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3bcf3b242f16ac0e0ec53a8103d406a0","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 127ms","method":"POST","requestID":"2eede21fcc3b8797be03e8124410c5f6","responseTime":127,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.134","http_referrer":"","http_user_agent":"node-fetch","requestID":"2eede21fcc3b8797be03e8124410c5f6"} device-1 | {"level":"info","message":"postDevices called","requestID":"3bcf3b242f16ac0e0ec53a8103d406a0"} gateway-1 | {"time_local":"28/Aug/2024:09:11:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2645","request_time":"0.633","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"38e76d49b15d6fc8dc59317262b7fba2"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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":"0.646","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"8e70e11f7f0aaca7ce227612980955a6"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":181,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:01Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":181,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.873065,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:01Z"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/9a3c01ad-ceab-4bcd-b594-5154eb940de6' closed"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"3bcf3b242f16ac0e0ec53a8103d406a0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836261,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MX0.uOhH1OCE_aOhHfZ5Hq0Am8ob1Mo6nK9ditYoN_9hmE8"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"3bcf3b242f16ac0e0ec53a8103d406a0","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/9a433d00-31a5-48aa-8b8f-e9c7de47e07c' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"b764aa67-debc-460e-a60f-971dbb5816ce","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836261.1711378} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3bcf3b242f16ac0e0ec53a8103d406a0","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3bbb63a7-2464-4384-9b99-e4b950c3b938","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836261.175717} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"3bcf3b242f16ac0e0ec53a8103d406a0","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"fa487399-bb0b-49b2-8721-489d7fa286d7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836261.1865053} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2d19c442-c59b-4346-808e-31d8b9218b36","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836261.1866903} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"3bcf3b242f16ac0e0ec53a8103d406a0","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:01.186490411Z"}]},"request_id":"43214b79-8f13-4232-9f3d-9342b42e2378","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836261.192597} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3bcf3b242f16ac0e0ec53a8103d406a0","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"3bcf3b242f16ac0e0ec53a8103d406a0"} device-1 | {"level":"info","message":"POST /devices? 201 52ms","method":"POST","requestID":"3bcf3b242f16ac0e0ec53a8103d406a0","responseTime":52,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"28/Aug/2024:09:11:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.061","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3bcf3b242f16ac0e0ec53a8103d406a0"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MX0.uOhH1OCE_aOhHfZ5Hq0Am8ob1Mo6nK9ditYoN_9hmE8","level":"info","message":"auth send jwt","requestID":"50325ab7da0d9cb9ef1741e7b676d4b2"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"50325ab7da0d9cb9ef1741e7b676d4b2","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"50325ab7da0d9cb9ef1741e7b676d4b2"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":182,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:01Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":182,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.78225,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:01Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"50325ab7da0d9cb9ef1741e7b676d4b2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836261,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MX0.uOhH1OCE_aOhHfZ5Hq0Am8ob1Mo6nK9ditYoN_9hmE8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"50325ab7da0d9cb9ef1741e7b676d4b2","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8705931a-3abb-4b8f-90db-0bb03510ea06","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"cda814fd-690a-426c-9bfc-1589c25b2ca4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836261.2149618} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"50325ab7da0d9cb9ef1741e7b676d4b2","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c5f98a98-b4ed-4e72-aae4-c17a05c906e3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836261.2192936} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"50325ab7da0d9cb9ef1741e7b676d4b2","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8705931a-3abb-4b8f-90db-0bb03510ea06","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"2dad7cbd-f443-44f7-a988-2530fd3cb425","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836261.2301419} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4e779f91-2800-4633-95d1-08541bceb025","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836261.2303767} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"50325ab7da0d9cb9ef1741e7b676d4b2","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8705931a-3abb-4b8f-90db-0bb03510ea06","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8705931a-3abb-4b8f-90db-0bb03510ea06","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:01.230121595Z"}]},"request_id":"afb2565f-470b-4589-930c-8e674ad27cc5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836261.2342596} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"50325ab7da0d9cb9ef1741e7b676d4b2","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"50325ab7da0d9cb9ef1741e7b676d4b2"} gateway-1 | {"time_local":"28/Aug/2024:09:11:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.041","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"50325ab7da0d9cb9ef1741e7b676d4b2"} device-1 | {"level":"info","message":"POST /devices? 201 37ms","method":"POST","requestID":"50325ab7da0d9cb9ef1741e7b676d4b2","responseTime":37,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MX0.uOhH1OCE_aOhHfZ5Hq0Am8ob1Mo6nK9ditYoN_9hmE8","level":"info","message":"auth send jwt","requestID":"128fd3cc7c6e6388e5f8a50ee34125c3"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"128fd3cc7c6e6388e5f8a50ee34125c3","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"128fd3cc7c6e6388e5f8a50ee34125c3"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":183,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:01Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":183,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.662202,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:01Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"128fd3cc7c6e6388e5f8a50ee34125c3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836261,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MX0.uOhH1OCE_aOhHfZ5Hq0Am8ob1Mo6nK9ditYoN_9hmE8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"128fd3cc7c6e6388e5f8a50ee34125c3","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:01.186490411Z"}]},"request_id":"71bd80ae-0e47-4c16-bd86-b07c6d270191","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836261.7824087} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"128fd3cc7c6e6388e5f8a50ee34125c3","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c19174f4-62c1-4d50-a869-661d7329191f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836261.7868662} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"128fd3cc7c6e6388e5f8a50ee34125c3","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:01.186490411Z"}]},"request_id":"f59996bf-b391-4516-8cd3-9d2d147fe9f5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836261.819144} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"128fd3cc7c6e6388e5f8a50ee34125c3","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"128fd3cc7c6e6388e5f8a50ee34125c3"} device-1 | {"level":"info","message":"PATCH /devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf 200 47ms","method":"PATCH","requestID":"128fd3cc7c6e6388e5f8a50ee34125c3","responseTime":47,"status":200,"url":"/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf"} gateway-1 | {"time_local":"28/Aug/2024:09:11:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.051","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"128fd3cc7c6e6388e5f8a50ee34125c3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MX0.uOhH1OCE_aOhHfZ5Hq0Am8ob1Mo6nK9ditYoN_9hmE8","level":"info","message":"auth send jwt","requestID":"94a406349683645877a2361cdc52a596"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"94a406349683645877a2361cdc52a596","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"94a406349683645877a2361cdc52a596"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":184,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:01Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":184,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.713351,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:01Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"94a406349683645877a2361cdc52a596","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836261,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2MX0.uOhH1OCE_aOhHfZ5Hq0Am8ob1Mo6nK9ditYoN_9hmE8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"94a406349683645877a2361cdc52a596","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"94a406349683645877a2361cdc52a596"} gateway-1 | {"time_local":"28/Aug/2024:09:11:01 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf/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":"94a406349683645877a2361cdc52a596"} device-1 | {"level":"info","message":"POST /devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf/websocket 200 15ms","method":"POST","requestID":"94a406349683645877a2361cdc52a596","responseTime":15,"status":200,"url":"/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"87f63db14bb380dc72623db9377a2ce2","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"87f63db14bb380dc72623db9377a2ce2","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/8705931a-3abb-4b8f-90db-0bb03510ea06/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":"87f63db14bb380dc72623db9377a2ce2"} device-1 | {"level":"info","message":"OPTIONS /devices/8705931a-3abb-4b8f-90db-0bb03510ea06/websocket 200 1ms","method":"OPTIONS","requestID":"87f63db14bb380dc72623db9377a2ce2","responseTime":1,"status":200,"url":"/devices/8705931a-3abb-4b8f-90db-0bb03510ea06/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2M30.a8YziS-bjLNa11f3ziAhkwCEzL99s-18Xi5ub_tvS-g","level":"info","message":"auth send jwt","requestID":"5b22c5959a72d2262ef22a30970ce753"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5b22c5959a72d2262ef22a30970ce753","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"5b22c5959a72d2262ef22a30970ce753"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":185,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":185,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.983101,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"5b22c5959a72d2262ef22a30970ce753","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836263,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2M30.a8YziS-bjLNa11f3ziAhkwCEzL99s-18Xi5ub_tvS-g"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5b22c5959a72d2262ef22a30970ce753","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"5b22c5959a72d2262ef22a30970ce753"} gateway-1 | {"time_local":"28/Aug/2024:09:11:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/8705931a-3abb-4b8f-90db-0bb03510ea06/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.150","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"5b22c5959a72d2262ef22a30970ce753"} device-1 | {"level":"info","message":"POST /devices/8705931a-3abb-4b8f-90db-0bb03510ea06/websocket 200 146ms","method":"POST","requestID":"5b22c5959a72d2262ef22a30970ce753","responseTime":146,"status":200,"url":"/devices/8705931a-3abb-4b8f-90db-0bb03510ea06/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2M30.a8YziS-bjLNa11f3ziAhkwCEzL99s-18Xi5ub_tvS-g","level":"info","message":"auth send jwt","requestID":"e55924d9d8d6f6883a65e8861889eaa8"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"e55924d9d8d6f6883a65e8861889eaa8","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e55924d9d8d6f6883a65e8861889eaa8"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":186,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":186,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.669122,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"e55924d9d8d6f6883a65e8861889eaa8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836263,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2M30.a8YziS-bjLNa11f3ziAhkwCEzL99s-18Xi5ub_tvS-g"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e55924d9d8d6f6883a65e8861889eaa8","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:01.186490411Z"}]},"request_id":"44435847-4c4e-4375-b2b5-77850a6d5603","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836263.4816394} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e55924d9d8d6f6883a65e8861889eaa8","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e55924d9d8d6f6883a65e8861889eaa8"} gateway-1 | {"time_local":"28/Aug/2024:09:11:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf? 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":"e55924d9d8d6f6883a65e8861889eaa8"} device-1 | {"level":"info","message":"GET /devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf? 200 11ms","method":"GET","requestID":"e55924d9d8d6f6883a65e8861889eaa8","responseTime":11,"status":200,"url":"/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2M30.a8YziS-bjLNa11f3ziAhkwCEzL99s-18Xi5ub_tvS-g","level":"info","message":"auth send jwt","requestID":"1989dd69386c7a7e20651f3b71463ef7"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1989dd69386c7a7e20651f3b71463ef7","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1989dd69386c7a7e20651f3b71463ef7"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":187,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":187,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.688523,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"1989dd69386c7a7e20651f3b71463ef7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836263,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2M30.a8YziS-bjLNa11f3ziAhkwCEzL99s-18Xi5ub_tvS-g"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"1989dd69386c7a7e20651f3b71463ef7","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8705931a-3abb-4b8f-90db-0bb03510ea06","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8705931a-3abb-4b8f-90db-0bb03510ea06","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:01.230121595Z"}]},"request_id":"209085f9-17a9-46d2-b3df-7ef0c01ab93a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836263.4996903} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"1989dd69386c7a7e20651f3b71463ef7","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1989dd69386c7a7e20651f3b71463ef7"} gateway-1 | {"time_local":"28/Aug/2024:09:11:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8705931a-3abb-4b8f-90db-0bb03510ea06? 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":"1989dd69386c7a7e20651f3b71463ef7"} device-1 | {"level":"info","message":"GET /devices/8705931a-3abb-4b8f-90db-0bb03510ea06? 200 13ms","method":"GET","requestID":"1989dd69386c7a7e20651f3b71463ef7","responseTime":13,"status":200,"url":"/devices/8705931a-3abb-4b8f-90db-0bb03510ea06?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2M30.a8YziS-bjLNa11f3ziAhkwCEzL99s-18Xi5ub_tvS-g","level":"info","message":"auth send jwt","requestID":"54eadb8c4d79046a95999ed444bdcea5"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"54eadb8c4d79046a95999ed444bdcea5","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"54eadb8c4d79046a95999ed444bdcea5"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":188,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":188,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":2.275172,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"54eadb8c4d79046a95999ed444bdcea5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836263,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2M30.a8YziS-bjLNa11f3ziAhkwCEzL99s-18Xi5ub_tvS-g"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"54eadb8c4d79046a95999ed444bdcea5","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6"},"level":"info","message":"Attempting to run experiment","requestID":"54eadb8c4d79046a95999ed444bdcea5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6"},"level":"info","message":"Attempting to book experiment","requestID":"54eadb8c4d79046a95999ed444bdcea5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6"},"level":"info","message":"Successfully booked experiment","requestID":"54eadb8c4d79046a95999ed444bdcea5"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"736ac9d0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"736af0e0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":189,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":189,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.951626,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":190,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"736ac9d0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836263,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2M30.a8YziS-bjLNa11f3ziAhkwCEzL99s-18Xi5ub_tvS-g"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"736ac9d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":190,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.21866,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"736af0e0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836263,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2M30.a8YziS-bjLNa11f3ziAhkwCEzL99s-18Xi5ub_tvS-g"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"736af0e0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:01.186490411Z"}]},"request_id":"8e502b0b-a2c3-41b3-91bb-e815906219c5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836263.6720195} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"736ac9d0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8705931a-3abb-4b8f-90db-0bb03510ea06","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8705931a-3abb-4b8f-90db-0bb03510ea06","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:01.230121595Z"}]},"request_id":"12e3ee5b-ba8d-45bf-9143-9c60506d2f11","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836263.6736937} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"736af0e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"736ac9d0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf? 200 19ms","method":"GET","requestID":"736ac9d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":19,"status":200,"url":"/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"736af0e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/8705931a-3abb-4b8f-90db-0bb03510ea06? 200 19ms","method":"GET","requestID":"736af0e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":19,"status":200,"url":"/devices/8705931a-3abb-4b8f-90db-0bb03510ea06?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6"},"level":"info","message":"Setting up experiment","requestID":"54eadb8c4d79046a95999ed444bdcea5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"54eadb8c4d79046a95999ed444bdcea5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6"},"level":"info","message":"Successfully locked booking for experiment","requestID":"54eadb8c4d79046a95999ed444bdcea5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"54eadb8c4d79046a95999ed444bdcea5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"54eadb8c4d79046a95999ed444bdcea5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6"},"level":"info","message":"Attempting to update booking for experiment","requestID":"54eadb8c4d79046a95999ed444bdcea5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6"},"level":"info","message":"Successfully updated booking for experiment","requestID":"54eadb8c4d79046a95999ed444bdcea5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6"},"level":"info","message":"Successfully set up experiment","requestID":"54eadb8c4d79046a95999ed444bdcea5"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"73781040-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"73785e60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"73788570-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6"},"level":"info","message":"Successfully running experiment","requestID":"54eadb8c4d79046a95999ed444bdcea5"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":191,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":191,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.741971,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":192,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"73781040-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836263,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2M30.a8YziS-bjLNa11f3ziAhkwCEzL99s-18Xi5ub_tvS-g"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"73781040-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":192,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.804199,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":193,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"73785e60-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836263,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2M30.a8YziS-bjLNa11f3ziAhkwCEzL99s-18Xi5ub_tvS-g"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"73785e60-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":193,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.611076,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e426f240-04e3-4262-87d9-1c404556bcdf","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836263.7577682} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"73788570-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"73788570-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:01.186490411Z"}]},"request_id":"183e0955-6b2b-4a75-9fc9-715231826333","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836263.7606742} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"73781040-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8705931a-3abb-4b8f-90db-0bb03510ea06","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8705931a-3abb-4b8f-90db-0bb03510ea06","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:01.230121595Z"}]},"request_id":"94523c21-9287-4c63-9cb8-5496441bfd1e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836263.7635098} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"73785e60-651d-11ef-83ce-bd5a3df00b5c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"73788570-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf/signaling 200 14ms","method":"POST","requestID":"73788570-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"737b4490-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"73781040-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf? 200 23ms","method":"GET","requestID":"73781040-651d-11ef-83ce-bd5a3df00b5c","responseTime":23,"status":200,"url":"/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"73785e60-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F6d74b644-afba-4f35-bd5c-2926d64f4ef6#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F6d74b644-afba-4f35-bd5c-2926d64f4ef6","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"4240e3a3-7366-42d6-84c0-85a80bd42d6c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836263.7705874} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"38a9bb90-f566-44ce-a82d-4f5bdb2ab7c2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836263.770902} device-1 | {"level":"info","message":"GET /devices/8705931a-3abb-4b8f-90db-0bb03510ea06? 200 22ms","method":"GET","requestID":"73785e60-651d-11ef-83ce-bd5a3df00b5c","responseTime":22,"status":200,"url":"/devices/8705931a-3abb-4b8f-90db-0bb03510ea06?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"54eadb8c4d79046a95999ed444bdcea5","responseTime":17,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":194,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8705931a-3abb-4b8f-90db-0bb03510ea06","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"34baa332-b8b7-4120-ab71-ad2551ffe1cd","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836263.7740135} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":194,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.735398,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:03Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"737c07e0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"737b4490-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"737b4490-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":195,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9247f3d5-51e7-4c87-b9df-201169b660b7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836263.780976} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"737b4490-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":195,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.130944,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:03Z"} device-1 | {"level":"info","message":"POST /devices/8705931a-3abb-4b8f-90db-0bb03510ea06/signaling 200 13ms","method":"POST","requestID":"737b4490-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/8705931a-3abb-4b8f-90db-0bb03510ea06/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"54eadb8c4d79046a95999ed444bdcea5"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"737c07e0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","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":"28/Aug/2024:09:11:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"811","request_time":"0.278","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"54eadb8c4d79046a95999ed444bdcea5"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"737c07e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"POST /experiments? 201 274ms","method":"POST","requestID":"54eadb8c4d79046a95999ed444bdcea5","responseTime":274,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"737c07e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf/signaling 200 13ms","method":"POST","requestID":"737c07e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2M30.a8YziS-bjLNa11f3ziAhkwCEzL99s-18Xi5ub_tvS-g","level":"info","message":"auth send jwt","requestID":"565d67031ce1ba7dee5be8a688fdec18"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"565d67031ce1ba7dee5be8a688fdec18","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"737e78e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"565d67031ce1ba7dee5be8a688fdec18"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":196,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":197,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":197,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.66253,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"565d67031ce1ba7dee5be8a688fdec18","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836263,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2M30.a8YziS-bjLNa11f3ziAhkwCEzL99s-18Xi5ub_tvS-g"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"565d67031ce1ba7dee5be8a688fdec18","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8705931a-3abb-4b8f-90db-0bb03510ea06","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"22ed5054-06fd-40fc-9c53-c1dbf98f7cb3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836263.796055} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":196,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.820259,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"737e78e0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"737e78e0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:01.186490411Z"}]},"request_id":"ba348ed3-1b05-4494-908e-9c3e780300a6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836263.7998905} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"737e78e0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"565d67031ce1ba7dee5be8a688fdec18","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"POST /devices/8705931a-3abb-4b8f-90db-0bb03510ea06/signaling 200 11ms","method":"POST","requestID":"737e78e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/8705931a-3abb-4b8f-90db-0bb03510ea06/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"54eadb8c4d79046a95999ed444bdcea5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6"},"level":"info","message":"Building connection plan","requestID":"54eadb8c4d79046a95999ed444bdcea5"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"1da7d451-4640-4a7d-b926-894e00f9812a"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"18c444b7-1d23-425a-8444-de3963b75522"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"f29ad5da-edff-415a-b99c-7c4f59bda9e1"}]},"level":"info","message":"Built pairwise service configurations","requestID":"54eadb8c4d79046a95999ed444bdcea5"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"54eadb8c4d79046a95999ed444bdcea5"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"73809bc0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"565d67031ce1ba7dee5be8a688fdec18"} gateway-1 | {"time_local":"28/Aug/2024:09:11:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf? 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":"565d67031ce1ba7dee5be8a688fdec18"} device-1 | {"level":"info","message":"GET /devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf? 200 15ms","method":"GET","requestID":"565d67031ce1ba7dee5be8a688fdec18","responseTime":15,"status":200,"url":"/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf?"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":198,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":198,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.906151,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"73809bc0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836263,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2M30.a8YziS-bjLNa11f3ziAhkwCEzL99s-18Xi5ub_tvS-g"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"73809bc0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2M30.a8YziS-bjLNa11f3ziAhkwCEzL99s-18Xi5ub_tvS-g","level":"info","message":"auth send jwt","requestID":"f8856898c5d64ef9e8bede2e5ba66fae"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f8856898c5d64ef9e8bede2e5ba66fae","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f8856898c5d64ef9e8bede2e5ba66fae"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":199,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":199,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.709466,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"f8856898c5d64ef9e8bede2e5ba66fae","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836263,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2M30.a8YziS-bjLNa11f3ziAhkwCEzL99s-18Xi5ub_tvS-g"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f8856898c5d64ef9e8bede2e5ba66fae","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8705931a-3abb-4b8f-90db-0bb03510ea06","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8705931a-3abb-4b8f-90db-0bb03510ea06","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:01.230121595Z"}]},"request_id":"5034249d-6768-4843-9c0d-e153fee3c080","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836263.8232753} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f8856898c5d64ef9e8bede2e5ba66fae","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"2cf7d0d7-01cc-4691-ad1b-4e195e79ba6b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836263.8250458} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b3dca149-7765-45da-8b34-7043bf42f8d2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836263.8252525} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"73809bc0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f8856898c5d64ef9e8bede2e5ba66fae"} gateway-1 | {"time_local":"28/Aug/2024:09:11:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8705931a-3abb-4b8f-90db-0bb03510ea06? 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":"f8856898c5d64ef9e8bede2e5ba66fae"} device-1 | {"level":"info","message":"GET /devices/8705931a-3abb-4b8f-90db-0bb03510ea06? 200 16ms","method":"GET","requestID":"f8856898c5d64ef9e8bede2e5ba66fae","responseTime":16,"status":200,"url":"/devices/8705931a-3abb-4b8f-90db-0bb03510ea06?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"73809bc0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"73809bc0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/8647af0c-a174-4d09-aeb2-634ec35e6d9a'","requestID":"73809bc0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/8647af0c-a174-4d09-aeb2-634ec35e6d9a'","requestID":"73809bc0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"73809bc0-651d-11ef-83ce-bd5a3df00b5c"} 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":"73809bc0-651d-11ef-83ce-bd5a3df00b5c","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":"73809bc0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/8647af0c-a174-4d09-aeb2-634ec35e6d9a","device":"8705931a-3abb-4b8f-90db-0bb03510ea06","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/6d74b644-afba-4f35-bd5c-2926d64f4ef6"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"54eadb8c4d79046a95999ed444bdcea5"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"738b4a20-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":200,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dabd3d50-df25-43f5-bdb9-015b97c812fe","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836263.8798423} device-1 | {"device":"8705931a-3abb-4b8f-90db-0bb03510ea06","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":200,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.68619,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"738b4a20-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","object_type":"device","rebac_allow":false,"scope_allow":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":"738b4a20-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"content":{"canTrickle":true},"device":"8705931a-3abb-4b8f-90db-0bb03510ea06","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"738b4a20-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf/signaling 200 13ms","method":"POST","requestID":"738b4a20-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"738dbb20-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":201,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8705931a-3abb-4b8f-90db-0bb03510ea06","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1e4cdcb6-28df-4de8-8592-6a7366d396b5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836263.8942099} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":201,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.505613,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:03Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"738dbb20-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"738dbb20-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"738dbb20-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/8705931a-3abb-4b8f-90db-0bb03510ea06/signaling 200 10ms","method":"POST","requestID":"738dbb20-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/8705931a-3abb-4b8f-90db-0bb03510ea06/signaling"} device-1 | {"device":"f26a0567-5841-48ac-8efd-ab6eb1700fbf","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":"8647af0c-a174-4d09-aeb2-634ec35e6d9a","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 6730443319070619597 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:mAhE\r\na=ice-pwd:fqXE/qC3JCrDC255sV34aPVI\r\na=ice-options:trickle\r\na=fingerprint:sha-256 10:82:76:C8:FC:8F:52:93:D2:1F:FE:7E:D8:FC:9B:EA:4D:B3:5A:CB:66:1D:CD:92:66:5C:AE:A3:05:03:D5:FD\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"8705931a-3abb-4b8f-90db-0bb03510ea06","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"device":"8705931a-3abb-4b8f-90db-0bb03510ea06","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:1024967912 1 udp 2113937151 a8f328ad-c0a4-46fe-8ac0-e0df9164bd06.local 59798 typ host generation 0 ufrag mAhE network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"8705931a-3abb-4b8f-90db-0bb03510ea06","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/8647af0c-a174-4d09-aeb2-634ec35e6d9a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8647af0c-a174-4d09-aeb2-634ec35e6d9a","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"candidate":"candidate:894406447 1 udp 1677729535 141.24.211.56 59798 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag mAhE network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"8705931a-3abb-4b8f-90db-0bb03510ea06","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c35fb8d794fe0e669426e098c2ebee93","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"c35fb8d794fe0e669426e098c2ebee93","responseTime":1,"status":200,"url":"/auth"} device-1 | {"device":"f26a0567-5841-48ac-8efd-ab6eb1700fbf","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 | {"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/8705931a-3abb-4b8f-90db-0bb03510ea06"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/8647af0c-a174-4d09-aeb2-634ec35e6d9a"}}},"level":"info","message":"received a callback","requestID":"c35fb8d794fe0e669426e098c2ebee93"} device-1 | {"device":"f26a0567-5841-48ac-8efd-ab6eb1700fbf","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":"f26a0567-5841-48ac-8efd-ab6eb1700fbf","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":"8705931a-3abb-4b8f-90db-0bb03510ea06","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/8705931a-3abb-4b8f-90db-0bb03510ea06'"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"c35fb8d794fe0e669426e098c2ebee93","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.009","http_referrer":"","http_user_agent":"node-fetch","requestID":"c35fb8d794fe0e669426e098c2ebee93"} device-1 | {"device":"f26a0567-5841-48ac-8efd-ab6eb1700fbf","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":"f26a0567-5841-48ac-8efd-ab6eb1700fbf","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":"8705931a-3abb-4b8f-90db-0bb03510ea06","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"8705931a-3abb-4b8f-90db-0bb03510ea06","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"8647af0c-a174-4d09-aeb2-634ec35e6d9a","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"8647af0c-a174-4d09-aeb2-634ec35e6d9a","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/8647af0c-a174-4d09-aeb2-634ec35e6d9a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8647af0c-a174-4d09-aeb2-634ec35e6d9a","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"85953e869f538eee8e5556a5154b27a0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"85953e869f538eee8e5556a5154b27a0","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/8705931a-3abb-4b8f-90db-0bb03510ea06"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/8647af0c-a174-4d09-aeb2-634ec35e6d9a"}}},"level":"info","message":"received a callback","requestID":"85953e869f538eee8e5556a5154b27a0"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"74cc7cb0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":202,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:05Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8647af0c-a174-4d09-aeb2-634ec35e6d9a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d713c224-e6be-411e-94c9-b902ffd1a0b3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836265.9838657} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":202,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.439315,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/8647af0c-a174-4d09-aeb2-634ec35e6d9a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"74cc7cb0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/8647af0c-a174-4d09-aeb2-634ec35e6d9a","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":"74cc7cb0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"74cc7cb0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/8647af0c-a174-4d09-aeb2-634ec35e6d9a 200 16ms","method":"GET","requestID":"74cc7cb0-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/peerconnections/8647af0c-a174-4d09-aeb2-634ec35e6d9a"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 50ms","method":"POST","requestID":"85953e869f538eee8e5556a5154b27a0","responseTime":50,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch","requestID":"85953e869f538eee8e5556a5154b27a0"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"74d38190-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":203,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:06Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8705931a-3abb-4b8f-90db-0bb03510ea06","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1616e8f2-cdc5-4ad4-99dc-1c70a7bbfd3c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836266.0302293} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":203,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.512973,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:06Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"74d38190-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"74d38190-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"74d38190-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/8705931a-3abb-4b8f-90db-0bb03510ea06/signaling 200 10ms","method":"POST","requestID":"74d38190-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/8705931a-3abb-4b8f-90db-0bb03510ea06/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"74d55650-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":204,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:06Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"55e2ff24-d45d-456a-ad1b-dafa4b159bee","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836266.0423632} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":204,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.63559,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:06Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"74d55650-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"74d55650-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"74d55650-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf/signaling 200 9ms","method":"POST","requestID":"74d55650-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2Nn0.qoLcpeGw23HjPPbX5aC4U6-1rzvAjN4tSElEauUytJ8","level":"info","message":"auth send jwt","requestID":"f0204e66e5cda719ebe3f71759447fad"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"f0204e66e5cda719ebe3f71759447fad","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6","requestID":"f0204e66e5cda719ebe3f71759447fad"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":205,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:06Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":205,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.770016,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:06Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"f0204e66e5cda719ebe3f71759447fad","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836266,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2Nn0.qoLcpeGw23HjPPbX5aC4U6-1rzvAjN4tSElEauUytJ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f0204e66e5cda719ebe3f71759447fad","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6","requestID":"f0204e66e5cda719ebe3f71759447fad"} gateway-1 | {"time_local":"28/Aug/2024:09:11:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6 HTTP/1.1","status": "200","body_bytes_sent":"884","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f0204e66e5cda719ebe3f71759447fad"} experiment-1 | {"level":"info","message":"GET /experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6 200 10ms","method":"GET","requestID":"f0204e66e5cda719ebe3f71759447fad","responseTime":10,"status":200,"url":"/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2Nn0.qoLcpeGw23HjPPbX5aC4U6-1rzvAjN4tSElEauUytJ8","level":"info","message":"auth send jwt","requestID":"ef04ab6c4551ed45d77620519aa8a44d"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"ef04ab6c4551ed45d77620519aa8a44d","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6","requestID":"ef04ab6c4551ed45d77620519aa8a44d"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":206,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:06Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":206,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.78196,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:06Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ef04ab6c4551ed45d77620519aa8a44d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836266,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2Nn0.qoLcpeGw23HjPPbX5aC4U6-1rzvAjN4tSElEauUytJ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ef04ab6c4551ed45d77620519aa8a44d","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6"},"level":"info","message":"Attempting to finish experiment","requestID":"ef04ab6c4551ed45d77620519aa8a44d"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"74ea8c00-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":207,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:06Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":207,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.918028,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:06Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/8647af0c-a174-4d09-aeb2-634ec35e6d9a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"74ea8c00-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/8647af0c-a174-4d09-aeb2-634ec35e6d9a","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836266,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2Nn0.qoLcpeGw23HjPPbX5aC4U6-1rzvAjN4tSElEauUytJ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"74ea8c00-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/8647af0c-a174-4d09-aeb2-634ec35e6d9a","device":"8705931a-3abb-4b8f-90db-0bb03510ea06","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"f26a0567-5841-48ac-8efd-ab6eb1700fbf","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":"f26a0567-5841-48ac-8efd-ab6eb1700fbf","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":"f26a0567-5841-48ac-8efd-ab6eb1700fbf","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/8647af0c-a174-4d09-aeb2-634ec35e6d9a' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/8647af0c-a174-4d09-aeb2-634ec35e6d9a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"8647af0c-a174-4d09-aeb2-634ec35e6d9a","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8647af0c-a174-4d09-aeb2-634ec35e6d9a': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F8647af0c-a174-4d09-aeb2-634ec35e6d9a","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"2f0a5cbc-c8cc-4c8b-aef0-7fc81e021cf3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836266.1930451} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e3c5c5d1-2fc8-44f1-ac69-81fada4e865a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836266.1933453} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"74ea8c00-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0b42a5a5906753b3198ddae55e4589ef","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"0b42a5a5906753b3198ddae55e4589ef","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1fbf8fbb569adee331dc2e80a7a956c3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/8705931a-3abb-4b8f-90db-0bb03510ea06"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/8647af0c-a174-4d09-aeb2-634ec35e6d9a"}}},"level":"info","message":"received a callback","requestID":"0b42a5a5906753b3198ddae55e4589ef"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"1fbf8fbb569adee331dc2e80a7a956c3","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/8705931a-3abb-4b8f-90db-0bb03510ea06"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/8647af0c-a174-4d09-aeb2-634ec35e6d9a"}}},"level":"info","message":"received a callback","requestID":"1fbf8fbb569adee331dc2e80a7a956c3"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"74ea8c00-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/8647af0c-a174-4d09-aeb2-634ec35e6d9a 204 23ms","method":"DELETE","requestID":"74ea8c00-651d-11ef-83ce-bd5a3df00b5c","responseTime":23,"status":204,"url":"/peerconnections/8647af0c-a174-4d09-aeb2-634ec35e6d9a"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6"},"level":"info","message":"Successfully finished experiment","requestID":"ef04ab6c4551ed45d77620519aa8a44d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"74f45000-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":208,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:06Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8705931a-3abb-4b8f-90db-0bb03510ea06","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b2cc96bf-8116-4154-b875-f0f8f39d0547","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836266.244394} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":208,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.321306,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:06Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"74f45000-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"74f45000-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"74f45000-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/8705931a-3abb-4b8f-90db-0bb03510ea06/signaling 200 9ms","method":"POST","requestID":"74f45000-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/8705931a-3abb-4b8f-90db-0bb03510ea06/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"74f5fdb0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":209,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:06Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Ff26a0567-5841-48ac-8efd-ab6eb1700fbf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4b071552-3c70-461a-bd04-20c934a07d42","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836266.2553332} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":209,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.339394,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:06Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"74f5fdb0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"74f5fdb0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"74f5fdb0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf/signaling 200 9ms","method":"POST","requestID":"74f5fdb0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/f26a0567-5841-48ac-8efd-ab6eb1700fbf/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F6d74b644-afba-4f35-bd5c-2926d64f4ef6': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F6d74b644-afba-4f35-bd5c-2926d64f4ef6","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"381504d2-0b6d-45f7-841b-a6280ee8840d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836266.2610476} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e2c2a6fc-bae1-47b1-84c7-87baf76a01d5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836266.2611978} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"ef04ab6c4551ed45d77620519aa8a44d","responseTime":25,"status":200,"url":"/relations/update"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6","requestID":"ef04ab6c4551ed45d77620519aa8a44d"} gateway-1 | {"time_local":"28/Aug/2024:09:11:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.216","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ef04ab6c4551ed45d77620519aa8a44d"} gateway-1 | {"time_local":"28/Aug/2024:09:11:06 +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.538","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"46a9176845889e90246abdd596f3739a"} experiment-1 | {"level":"info","message":"DELETE /experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6 204 214ms","method":"DELETE","requestID":"ef04ab6c4551ed45d77620519aa8a44d","responseTime":214,"status":204,"url":"/experiments/6d74b644-afba-4f35-bd5c-2926d64f4ef6"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 188ms","method":"POST","requestID":"0b42a5a5906753b3198ddae55e4589ef","responseTime":188,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.190","http_referrer":"","http_user_agent":"node-fetch","requestID":"0b42a5a5906753b3198ddae55e4589ef"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 187ms","method":"POST","requestID":"1fbf8fbb569adee331dc2e80a7a956c3","responseTime":187,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.190","http_referrer":"","http_user_agent":"node-fetch","requestID":"1fbf8fbb569adee331dc2e80a7a956c3"} gateway-1 | {"time_local":"28/Aug/2024:09:11:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2506","request_time":"3.065","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"19ecaa10e3834572f6281b7f3c39025f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2Nn0.qoLcpeGw23HjPPbX5aC4U6-1rzvAjN4tSElEauUytJ8","level":"info","message":"auth send jwt","requestID":"99b0c66491c9bb7ea318fe3ae32c8b53"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"99b0c66491c9bb7ea318fe3ae32c8b53","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"99b0c66491c9bb7ea318fe3ae32c8b53"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":210,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:06Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":210,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.957555,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:06Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"99b0c66491c9bb7ea318fe3ae32c8b53","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836266,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2Nn0.qoLcpeGw23HjPPbX5aC4U6-1rzvAjN4tSElEauUytJ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"99b0c66491c9bb7ea318fe3ae32c8b53","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/f26a0567-5841-48ac-8efd-ab6eb1700fbf' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08468e16-7236-4541-b561-cedbb4def7e2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"d8ed9d51-c50d-418c-8ef1-20472aa65e17","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836266.4321206} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"99b0c66491c9bb7ea318fe3ae32c8b53","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4027fc55-29de-4603-a553-d283c44cea45","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836266.4381618} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"99b0c66491c9bb7ea318fe3ae32c8b53","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/8705931a-3abb-4b8f-90db-0bb03510ea06' closed"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08468e16-7236-4541-b561-cedbb4def7e2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"2094fe41-0bc9-4e4c-ae27-1cbaf26f8b7b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836266.4642026} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e06aba5f-0580-4707-b42c-89f603fe4006","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836266.4643998} authorization-1 | {"level":"info","message":"POST /relations/update 200 29ms","method":"POST","requestID":"99b0c66491c9bb7ea318fe3ae32c8b53","responseTime":29,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08468e16-7236-4541-b561-cedbb4def7e2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08468e16-7236-4541-b561-cedbb4def7e2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:06.464184916Z"}]},"request_id":"6c7cf40c-d544-40b8-9f17-1c8c591be71a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836266.4697447} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"99b0c66491c9bb7ea318fe3ae32c8b53","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"99b0c66491c9bb7ea318fe3ae32c8b53"} gateway-1 | {"time_local":"28/Aug/2024:09:11:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.090","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"99b0c66491c9bb7ea318fe3ae32c8b53"} device-1 | {"level":"info","message":"POST /devices? 201 80ms","method":"POST","requestID":"99b0c66491c9bb7ea318fe3ae32c8b53","responseTime":80,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2Nn0.qoLcpeGw23HjPPbX5aC4U6-1rzvAjN4tSElEauUytJ8","level":"info","message":"auth send jwt","requestID":"0ec3eb97c06296e7276ffbd7e2c26ebb"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0ec3eb97c06296e7276ffbd7e2c26ebb","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"0ec3eb97c06296e7276ffbd7e2c26ebb"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":211,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:06Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":211,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.723027,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:06Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"0ec3eb97c06296e7276ffbd7e2c26ebb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836266,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2Nn0.qoLcpeGw23HjPPbX5aC4U6-1rzvAjN4tSElEauUytJ8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0ec3eb97c06296e7276ffbd7e2c26ebb","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5184b280-cd1c-4fa8-b99c-4daa7974546c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"945f3d11-f483-4bd7-8aed-3daf04058f63","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836266.5164828} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0ec3eb97c06296e7276ffbd7e2c26ebb","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6b893f0e-3abd-4fa8-990b-ad7e49bd7ce3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836266.522314} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"0ec3eb97c06296e7276ffbd7e2c26ebb","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5184b280-cd1c-4fa8-b99c-4daa7974546c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"e8162ce2-0cb5-436c-8ee9-86a8b8e4d8f7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836266.5365756} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"024bf298-5aad-4ba9-aba0-4f01bee581d5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836266.5367632} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"0ec3eb97c06296e7276ffbd7e2c26ebb","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5184b280-cd1c-4fa8-b99c-4daa7974546c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5184b280-cd1c-4fa8-b99c-4daa7974546c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:06.536558541Z"}]},"request_id":"b4cc9464-e2e4-4107-97e8-9602ab388549","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836266.5410166} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0ec3eb97c06296e7276ffbd7e2c26ebb","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"0ec3eb97c06296e7276ffbd7e2c26ebb"} gateway-1 | {"time_local":"28/Aug/2024:09:11:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.070","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0ec3eb97c06296e7276ffbd7e2c26ebb"} device-1 | {"level":"info","message":"POST /devices? 201 65ms","method":"POST","requestID":"0ec3eb97c06296e7276ffbd7e2c26ebb","responseTime":65,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e14bdc0ff3caa305293e56e7bede9ef7","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"e14bdc0ff3caa305293e56e7bede9ef7","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/5184b280-cd1c-4fa8-b99c-4daa7974546c/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":"e14bdc0ff3caa305293e56e7bede9ef7"} device-1 | {"level":"info","message":"OPTIONS /devices/5184b280-cd1c-4fa8-b99c-4daa7974546c/websocket 200 0ms","method":"OPTIONS","requestID":"e14bdc0ff3caa305293e56e7bede9ef7","responseTime":0,"status":200,"url":"/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OH0.Ges6WYPdFF6o18skmRQk1uUpntPiwN-t2Y6QlXaxQs0","level":"info","message":"auth send jwt","requestID":"b118a832b4c4336956d977381cf46c78"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"b118a832b4c4336956d977381cf46c78","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"b118a832b4c4336956d977381cf46c78"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":212,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":212,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.723168,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b118a832b4c4336956d977381cf46c78","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836268,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OH0.Ges6WYPdFF6o18skmRQk1uUpntPiwN-t2Y6QlXaxQs0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b118a832b4c4336956d977381cf46c78","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0a120f014d7e0c6323254c00ad9e89ff","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"0a120f014d7e0c6323254c00ad9e89ff","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/08468e16-7236-4541-b561-cedbb4def7e2/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":"0a120f014d7e0c6323254c00ad9e89ff"} device-1 | {"level":"info","message":"OPTIONS /devices/08468e16-7236-4541-b561-cedbb4def7e2/websocket 200 1ms","method":"OPTIONS","requestID":"0a120f014d7e0c6323254c00ad9e89ff","responseTime":1,"status":200,"url":"/devices/08468e16-7236-4541-b561-cedbb4def7e2/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OH0.Ges6WYPdFF6o18skmRQk1uUpntPiwN-t2Y6QlXaxQs0","level":"info","message":"auth send jwt","requestID":"87a51197536374ceb8265c2e92cc718d"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"87a51197536374ceb8265c2e92cc718d","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"87a51197536374ceb8265c2e92cc718d"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":213,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":213,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.880325,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"87a51197536374ceb8265c2e92cc718d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836268,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OH0.Ges6WYPdFF6o18skmRQk1uUpntPiwN-t2Y6QlXaxQs0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"87a51197536374ceb8265c2e92cc718d","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"b118a832b4c4336956d977381cf46c78"} gateway-1 | {"time_local":"28/Aug/2024:09:11:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/5184b280-cd1c-4fa8-b99c-4daa7974546c/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.079","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"b118a832b4c4336956d977381cf46c78"} device-1 | {"level":"info","message":"POST /devices/5184b280-cd1c-4fa8-b99c-4daa7974546c/websocket 200 75ms","method":"POST","requestID":"b118a832b4c4336956d977381cf46c78","responseTime":75,"status":200,"url":"/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"87a51197536374ceb8265c2e92cc718d"} gateway-1 | {"time_local":"28/Aug/2024:09:11:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/08468e16-7236-4541-b561-cedbb4def7e2/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.051","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"87a51197536374ceb8265c2e92cc718d"} device-1 | {"level":"info","message":"POST /devices/08468e16-7236-4541-b561-cedbb4def7e2/websocket 200 47ms","method":"POST","requestID":"87a51197536374ceb8265c2e92cc718d","responseTime":47,"status":200,"url":"/devices/08468e16-7236-4541-b561-cedbb4def7e2/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OH0.Ges6WYPdFF6o18skmRQk1uUpntPiwN-t2Y6QlXaxQs0","level":"info","message":"auth send jwt","requestID":"57b5c0917118e2280b9be2558a4c0240"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"57b5c0917118e2280b9be2558a4c0240","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"57b5c0917118e2280b9be2558a4c0240"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":214,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":214,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.762667,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"57b5c0917118e2280b9be2558a4c0240","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836268,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OH0.Ges6WYPdFF6o18skmRQk1uUpntPiwN-t2Y6QlXaxQs0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"57b5c0917118e2280b9be2558a4c0240","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08468e16-7236-4541-b561-cedbb4def7e2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08468e16-7236-4541-b561-cedbb4def7e2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:06.464184916Z"}]},"request_id":"077ba33c-641e-4239-b70a-633c492235d3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836268.6273704} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"57b5c0917118e2280b9be2558a4c0240","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"57b5c0917118e2280b9be2558a4c0240"} gateway-1 | {"time_local":"28/Aug/2024:09:11:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/08468e16-7236-4541-b561-cedbb4def7e2? 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":"57b5c0917118e2280b9be2558a4c0240"} device-1 | {"level":"info","message":"GET /devices/08468e16-7236-4541-b561-cedbb4def7e2? 200 12ms","method":"GET","requestID":"57b5c0917118e2280b9be2558a4c0240","responseTime":12,"status":200,"url":"/devices/08468e16-7236-4541-b561-cedbb4def7e2?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OH0.Ges6WYPdFF6o18skmRQk1uUpntPiwN-t2Y6QlXaxQs0","level":"info","message":"auth send jwt","requestID":"0235abbb3726a94680788025c57104ec"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"0235abbb3726a94680788025c57104ec","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0235abbb3726a94680788025c57104ec"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":215,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":215,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.697607,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"0235abbb3726a94680788025c57104ec","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836268,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OH0.Ges6WYPdFF6o18skmRQk1uUpntPiwN-t2Y6QlXaxQs0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0235abbb3726a94680788025c57104ec","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5184b280-cd1c-4fa8-b99c-4daa7974546c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5184b280-cd1c-4fa8-b99c-4daa7974546c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:06.536558541Z"}]},"request_id":"415808c3-2a07-4a48-a233-2a5ce72efcaf","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836268.643323} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0235abbb3726a94680788025c57104ec","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0235abbb3726a94680788025c57104ec"} gateway-1 | {"time_local":"28/Aug/2024:09:11:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5184b280-cd1c-4fa8-b99c-4daa7974546c? 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":"0235abbb3726a94680788025c57104ec"} device-1 | {"level":"info","message":"GET /devices/5184b280-cd1c-4fa8-b99c-4daa7974546c? 200 12ms","method":"GET","requestID":"0235abbb3726a94680788025c57104ec","responseTime":12,"status":200,"url":"/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OH0.Ges6WYPdFF6o18skmRQk1uUpntPiwN-t2Y6QlXaxQs0","level":"info","message":"auth send jwt","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"d6dbbd87be1e67ff3af705449be55f9e","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":216,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":216,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.672256,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"d6dbbd87be1e67ff3af705449be55f9e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836268,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OH0.Ges6WYPdFF6o18skmRQk1uUpntPiwN-t2Y6QlXaxQs0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d6dbbd87be1e67ff3af705449be55f9e","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7"},"level":"info","message":"Attempting to run experiment","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7"},"level":"info","message":"Attempting to book experiment","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7"},"level":"info","message":"Successfully booked experiment","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"766ac360-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"766b1180-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":217,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":217,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.615258,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":218,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"766ac360-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836268,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OH0.Ges6WYPdFF6o18skmRQk1uUpntPiwN-t2Y6QlXaxQs0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"766ac360-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":218,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.737417,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"766b1180-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836268,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OH0.Ges6WYPdFF6o18skmRQk1uUpntPiwN-t2Y6QlXaxQs0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"766b1180-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08468e16-7236-4541-b561-cedbb4def7e2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08468e16-7236-4541-b561-cedbb4def7e2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:06.464184916Z"}]},"request_id":"f1cc0f36-69b4-4f0e-a272-a9c3dfebab04","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836268.7028842} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"766ac360-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5184b280-cd1c-4fa8-b99c-4daa7974546c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5184b280-cd1c-4fa8-b99c-4daa7974546c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:06.536558541Z"}]},"request_id":"4f43aa46-52a1-451b-b851-cd0b4de6026a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836268.7038708} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"766b1180-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"766ac360-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/08468e16-7236-4541-b561-cedbb4def7e2? 200 16ms","method":"GET","requestID":"766ac360-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/08468e16-7236-4541-b561-cedbb4def7e2?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"766b1180-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/5184b280-cd1c-4fa8-b99c-4daa7974546c? 200 14ms","method":"GET","requestID":"766b1180-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7"},"level":"info","message":"Setting up experiment","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7"},"level":"info","message":"Successfully locked booking for experiment","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7"},"level":"info","message":"Attempting to update booking for experiment","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7"},"level":"info","message":"Successfully updated booking for experiment","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7"},"level":"info","message":"Successfully set up experiment","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7675bfe0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"76760e00-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"76765c20-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7"},"level":"info","message":"Successfully running experiment","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":219,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":219,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.922917,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":220,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":220,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.669007,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7675bfe0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836268,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OH0.Ges6WYPdFF6o18skmRQk1uUpntPiwN-t2Y6QlXaxQs0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7675bfe0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"76760e00-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836268,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OH0.Ges6WYPdFF6o18skmRQk1uUpntPiwN-t2Y6QlXaxQs0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"76760e00-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":221,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":221,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.571104,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08468e16-7236-4541-b561-cedbb4def7e2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c1f69eed-b882-4b76-a49a-b719518185ae","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836268.777301} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"76765c20-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"76765c20-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5184b280-cd1c-4fa8-b99c-4daa7974546c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5184b280-cd1c-4fa8-b99c-4daa7974546c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:06.536558541Z"}]},"request_id":"c95a6696-6f4e-499a-9b87-8ff70ff4c021","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836268.7791677} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"76760e00-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08468e16-7236-4541-b561-cedbb4def7e2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08468e16-7236-4541-b561-cedbb4def7e2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:06.464184916Z"}]},"request_id":"a9f546be-d413-48f0-b206-be0fe42785d2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836268.7820354} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7675bfe0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"76765c20-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/08468e16-7236-4541-b561-cedbb4def7e2/signaling 200 14ms","method":"POST","requestID":"76765c20-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/devices/08468e16-7236-4541-b561-cedbb4def7e2/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7678f430-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"76760e00-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/5184b280-cd1c-4fa8-b99c-4daa7974546c? 200 21ms","method":"GET","requestID":"76760e00-651d-11ef-83ce-bd5a3df00b5c","responseTime":21,"status":200,"url":"/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c?"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":222,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:08Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7675bfe0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/08468e16-7236-4541-b561-cedbb4def7e2? 200 25ms","method":"GET","requestID":"7675bfe0-651d-11ef-83ce-bd5a3df00b5c","responseTime":25,"status":200,"url":"/devices/08468e16-7236-4541-b561-cedbb4def7e2?"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5184b280-cd1c-4fa8-b99c-4daa7974546c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"df5c0c98-d728-4a10-b341-424a319fa67e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836268.7917979} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7679de90-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":222,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.589992,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7678f430-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c","object_type":"device","rebac_allow":false,"scope_allow":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":"7678f430-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F57470d80-52ae-48a5-b2ff-c8368ce38da7#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F57470d80-52ae-48a5-b2ff-c8368ce38da7","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"33fcd0f7-33ea-4c01-947f-38b27a96fff7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836268.7946646} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"64fd4483-ee43-4e6c-96ec-3f3851a4692e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836268.7948287} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7678f430-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/5184b280-cd1c-4fa8-b99c-4daa7974546c/signaling 200 11ms","method":"POST","requestID":"7678f430-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"d6dbbd87be1e67ff3af705449be55f9e","responseTime":24,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":223,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08468e16-7236-4541-b561-cedbb4def7e2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e0a009f7-9c0d-43ef-8f4e-7da5531cde13","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836268.8002107} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":223,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.619384,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7679de90-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7679de90-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7679de90-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} device-1 | {"level":"info","message":"POST /devices/08468e16-7236-4541-b561-cedbb4def7e2/signaling 200 12ms","method":"POST","requestID":"7679de90-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/08468e16-7236-4541-b561-cedbb4def7e2/signaling"} gateway-1 | {"time_local":"28/Aug/2024:09:11:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"777","request_time":"0.157","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} experiment-1 | {"level":"info","message":"POST /experiments? 201 153ms","method":"POST","requestID":"d6dbbd87be1e67ff3af705449be55f9e","responseTime":153,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"767c2880-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OH0.Ges6WYPdFF6o18skmRQk1uUpntPiwN-t2Y6QlXaxQs0","level":"info","message":"auth send jwt","requestID":"1f1c9ec818ec339ab5e9af8f44d9e139"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1f1c9ec818ec339ab5e9af8f44d9e139","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":224,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:08Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1f1c9ec818ec339ab5e9af8f44d9e139"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5184b280-cd1c-4fa8-b99c-4daa7974546c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ea3ff00b-833d-496f-8a6f-e2208cb767e5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836268.814366} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":225,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":224,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.297772,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"767c2880-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"767c2880-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":225,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.771613,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"1f1c9ec818ec339ab5e9af8f44d9e139","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836268,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OH0.Ges6WYPdFF6o18skmRQk1uUpntPiwN-t2Y6QlXaxQs0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1f1c9ec818ec339ab5e9af8f44d9e139","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"767c2880-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/5184b280-cd1c-4fa8-b99c-4daa7974546c/signaling 200 15ms","method":"POST","requestID":"767c2880-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c/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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08468e16-7236-4541-b561-cedbb4def7e2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08468e16-7236-4541-b561-cedbb4def7e2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:06.464184916Z"}]},"request_id":"9130e980-31f5-4756-8145-8dd9e6d629eb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836268.8239915} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7"},"level":"info","message":"Building connection plan","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"a1433d36-5034-4d48-9352-ac4a59eb31af"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"8bcaec52-98bd-455b-a0b9-501e377fade4"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/file","uuid":"6d5990e1-50b7-4d43-8c43-78f9d4e1402e"}]},"level":"info","message":"Built pairwise service configurations","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} 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/08468e16-7236-4541-b561-cedbb4def7e2"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1f1c9ec818ec339ab5e9af8f44d9e139","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"767f0eb0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1f1c9ec818ec339ab5e9af8f44d9e139"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":226,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:08Z"} gateway-1 | {"time_local":"28/Aug/2024:09:11:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/08468e16-7236-4541-b561-cedbb4def7e2? 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":"1f1c9ec818ec339ab5e9af8f44d9e139"} device-1 | {"level":"info","message":"GET /devices/08468e16-7236-4541-b561-cedbb4def7e2? 200 19ms","method":"GET","requestID":"1f1c9ec818ec339ab5e9af8f44d9e139","responseTime":19,"status":200,"url":"/devices/08468e16-7236-4541-b561-cedbb4def7e2?"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":226,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.963672,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"767f0eb0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836268,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OH0.Ges6WYPdFF6o18skmRQk1uUpntPiwN-t2Y6QlXaxQs0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"767f0eb0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OH0.Ges6WYPdFF6o18skmRQk1uUpntPiwN-t2Y6QlXaxQs0","level":"info","message":"auth send jwt","requestID":"b840459574455b3d052ea2fa7f199755"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"b840459574455b3d052ea2fa7f199755","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b840459574455b3d052ea2fa7f199755"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":227,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":227,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.700082,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b840459574455b3d052ea2fa7f199755","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836268,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OH0.Ges6WYPdFF6o18skmRQk1uUpntPiwN-t2Y6QlXaxQs0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b840459574455b3d052ea2fa7f199755","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"07d2e16b-d541-46bc-b5a5-03cbb88e3e4d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836268.8432746} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6a84bbc2-3b88-4b5e-9a95-2e79e96d569f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836268.843484} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"767f0eb0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5184b280-cd1c-4fa8-b99c-4daa7974546c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5184b280-cd1c-4fa8-b99c-4daa7974546c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:06.536558541Z"}]},"request_id":"4ec04f8f-24ca-4dfc-b34d-e192ba30a447","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836268.8446434} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b840459574455b3d052ea2fa7f199755","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b840459574455b3d052ea2fa7f199755"} gateway-1 | {"time_local":"28/Aug/2024:09:11:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5184b280-cd1c-4fa8-b99c-4daa7974546c? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.030","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b840459574455b3d052ea2fa7f199755"} device-1 | {"level":"info","message":"GET /devices/5184b280-cd1c-4fa8-b99c-4daa7974546c? 200 27ms","method":"GET","requestID":"b840459574455b3d052ea2fa7f199755","responseTime":27,"status":200,"url":"/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"767f0eb0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"767f0eb0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/51e56041-9572-403b-80c7-03da7eea60a8'","requestID":"767f0eb0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/51e56041-9572-403b-80c7-03da7eea60a8'","requestID":"767f0eb0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"767f0eb0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 37ms","method":"POST","requestID":"767f0eb0-651d-11ef-83ce-bd5a3df00b5c","responseTime":37,"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":"767f0eb0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/51e56041-9572-403b-80c7-03da7eea60a8","device":"08468e16-7236-4541-b561-cedbb4def7e2","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/51e56041-9572-403b-80c7-03da7eea60a8","device":"5184b280-cd1c-4fa8-b99c-4daa7974546c","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/57470d80-52ae-48a5-b2ff-c8368ce38da7"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"d6dbbd87be1e67ff3af705449be55f9e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"768ace80-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":228,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08468e16-7236-4541-b561-cedbb4def7e2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9d597819-6d65-41a1-bd34-b71f863bb359","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836268.9099872} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":228,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.079059,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:08Z"} device-1 | {"device":"08468e16-7236-4541-b561-cedbb4def7e2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"768ace80-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"768ace80-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"content":{"canTrickle":true},"device":"08468e16-7236-4541-b561-cedbb4def7e2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"5184b280-cd1c-4fa8-b99c-4daa7974546c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"5184b280-cd1c-4fa8-b99c-4daa7974546c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"768ace80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/08468e16-7236-4541-b561-cedbb4def7e2/signaling 200 13ms","method":"POST","requestID":"768ace80-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/08468e16-7236-4541-b561-cedbb4def7e2/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"768d3f80-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":229,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:08Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5184b280-cd1c-4fa8-b99c-4daa7974546c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"27519d7f-0fa6-4f5b-9ea1-1d015c070f09","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836268.925497} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":229,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.085342,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:08Z"} device-1 | {"content":{"sdp":"v=0\r\no=- 4580690935567897473 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:17ZD\r\na=ice-pwd:Tpcx7slbpr7TcZyQvglos+DE\r\na=ice-options:trickle\r\na=fingerprint:sha-256 BB:40:88:71:5D:5C:91:21:A3:A4:62:74:13:CD:DB:B7:75:42:71:BD:60:99:3D:4F:66:1C:FD:47:6C:BA:9C:1B\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"5184b280-cd1c-4fa8-b99c-4daa7974546c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"768d3f80-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c","object_type":"device","rebac_allow":false,"scope_allow":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":"768d3f80-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"768d3f80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/5184b280-cd1c-4fa8-b99c-4daa7974546c/signaling 200 12ms","method":"POST","requestID":"768d3f80-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 2753945984648561388 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:btSC\r\na=ice-pwd:7LLMtHcpgjoPcZpFeS7KdTjZ\r\na=ice-options:trickle\r\na=fingerprint:sha-256 77:15:7D:F9:D5:17:48:6D:11:D1:BD:BB:B3:4B:71:A6:9E:3C:8B:DF:58:D1:A1:AF:26:B9:52:48:EA:85:2B:E8\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"08468e16-7236-4541-b561-cedbb4def7e2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:991895515 1 udp 2113937151 ec12cc00-7826-4f71-bf6c-c1ef7e70b56d.local 33765 typ host generation 0 ufrag 17ZD network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"5184b280-cd1c-4fa8-b99c-4daa7974546c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1041698947 1 udp 1677729535 141.24.211.56 33765 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 17ZD network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"5184b280-cd1c-4fa8-b99c-4daa7974546c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:920509896 1 udp 2113937151 bd333b9d-17e1-45e7-a9b0-b685da35db3e.local 49150 typ host generation 0 ufrag btSC network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"08468e16-7236-4541-b561-cedbb4def7e2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:869651088 1 udp 1677729535 141.24.211.56 49150 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag btSC network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"08468e16-7236-4541-b561-cedbb4def7e2","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/5184b280-cd1c-4fa8-b99c-4daa7974546c'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2'"} device-1 | {"device":"08468e16-7236-4541-b561-cedbb4def7e2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"5184b280-cd1c-4fa8-b99c-4daa7974546c","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/51e56041-9572-403b-80c7-03da7eea60a8' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"51e56041-9572-403b-80c7-03da7eea60a8","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"08468e16-7236-4541-b561-cedbb4def7e2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"5184b280-cd1c-4fa8-b99c-4daa7974546c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3a15f0c9e572176b6c51280cdbf12518","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"3a15f0c9e572176b6c51280cdbf12518","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/08468e16-7236-4541-b561-cedbb4def7e2"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"new","url":"http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/51e56041-9572-403b-80c7-03da7eea60a8"}}},"level":"info","message":"received a callback","requestID":"3a15f0c9e572176b6c51280cdbf12518"} device-1 | {"device":"5184b280-cd1c-4fa8-b99c-4daa7974546c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"08468e16-7236-4541-b561-cedbb4def7e2","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":"3a15f0c9e572176b6c51280cdbf12518","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"3a15f0c9e572176b6c51280cdbf12518"} device-1 | {"device":"08468e16-7236-4541-b561-cedbb4def7e2","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"51e56041-9572-403b-80c7-03da7eea60a8","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"51e56041-9572-403b-80c7-03da7eea60a8","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bbf409f1561d148d937ab3b7408fb046","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/51e56041-9572-403b-80c7-03da7eea60a8' to 'http://localhost/callbacks/experiment'"} 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/08468e16-7236-4541-b561-cedbb4def7e2"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/51e56041-9572-403b-80c7-03da7eea60a8"}}},"level":"info","message":"received a callback","requestID":"bbf409f1561d148d937ab3b7408fb046"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"bbf409f1561d148d937ab3b7408fb046","responseTime":1,"status":200,"url":"/auth"} device-1 | {"data":{"peerconnection":"51e56041-9572-403b-80c7-03da7eea60a8","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"769c0c90-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":230,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:09Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F51e56041-9572-403b-80c7-03da7eea60a8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f346e9d0-ee31-4de6-816a-c36fe0383284","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836269.0232673} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":230,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.419365,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/51e56041-9572-403b-80c7-03da7eea60a8","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"769c0c90-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/51e56041-9572-403b-80c7-03da7eea60a8","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":"769c0c90-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"769c0c90-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/51e56041-9572-403b-80c7-03da7eea60a8 200 12ms","method":"GET","requestID":"769c0c90-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/peerconnections/51e56041-9572-403b-80c7-03da7eea60a8"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 48ms","method":"POST","requestID":"bbf409f1561d148d937ab3b7408fb046","responseTime":48,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.051","http_referrer":"","http_user_agent":"node-fetch","requestID":"bbf409f1561d148d937ab3b7408fb046"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"76a115a0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":231,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:09Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08468e16-7236-4541-b561-cedbb4def7e2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4a072ebd-4918-4c5d-937c-e4969c460bd5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836269.0549872} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":231,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.649876,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"76a115a0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"76a115a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"76a115a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/08468e16-7236-4541-b561-cedbb4def7e2/signaling 200 11ms","method":"POST","requestID":"76a115a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/08468e16-7236-4541-b561-cedbb4def7e2/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"76a33880-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":232,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:09Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5184b280-cd1c-4fa8-b99c-4daa7974546c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"abcf03f5-854b-47d9-9c74-169ab70e6437","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836269.070051} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":232,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.515874,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:09Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"76a33880-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c","object_type":"device","rebac_allow":false,"scope_allow":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":"76a33880-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"76a33880-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/5184b280-cd1c-4fa8-b99c-4daa7974546c/signaling 200 12ms","method":"POST","requestID":"76a33880-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OX0.jeAvMSzvf-l33r-HE8BUz4FTZTyAAdsa-rfjC4WX900","level":"info","message":"auth send jwt","requestID":"1f9b8ab109b9f3128e2b3daff60e1704"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1f9b8ab109b9f3128e2b3daff60e1704","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7","requestID":"1f9b8ab109b9f3128e2b3daff60e1704"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":233,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:09Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":233,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.737282,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:09Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"1f9b8ab109b9f3128e2b3daff60e1704","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836269,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OX0.jeAvMSzvf-l33r-HE8BUz4FTZTyAAdsa-rfjC4WX900"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1f9b8ab109b9f3128e2b3daff60e1704","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7","requestID":"1f9b8ab109b9f3128e2b3daff60e1704"} gateway-1 | {"time_local":"28/Aug/2024:09:11:09 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7 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":"1f9b8ab109b9f3128e2b3daff60e1704"} experiment-1 | {"level":"info","message":"GET /experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7 200 11ms","method":"GET","requestID":"1f9b8ab109b9f3128e2b3daff60e1704","responseTime":11,"status":200,"url":"/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OX0.jeAvMSzvf-l33r-HE8BUz4FTZTyAAdsa-rfjC4WX900","level":"info","message":"auth send jwt","requestID":"87b82943ab43c523441672f11509e660"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"87b82943ab43c523441672f11509e660","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7","requestID":"87b82943ab43c523441672f11509e660"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":234,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:09Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":234,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.740498,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:09Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"87b82943ab43c523441672f11509e660","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836269,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OX0.jeAvMSzvf-l33r-HE8BUz4FTZTyAAdsa-rfjC4WX900"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"87b82943ab43c523441672f11509e660","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7"},"level":"info","message":"Attempting to finish experiment","requestID":"87b82943ab43c523441672f11509e660"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"77275ca0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":235,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:09Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":235,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.763219,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:09Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/51e56041-9572-403b-80c7-03da7eea60a8","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"77275ca0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/51e56041-9572-403b-80c7-03da7eea60a8","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836269,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI2OX0.jeAvMSzvf-l33r-HE8BUz4FTZTyAAdsa-rfjC4WX900"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"77275ca0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/51e56041-9572-403b-80c7-03da7eea60a8","device":"08468e16-7236-4541-b561-cedbb4def7e2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/51e56041-9572-403b-80c7-03da7eea60a8","device":"5184b280-cd1c-4fa8-b99c-4daa7974546c","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/51e56041-9572-403b-80c7-03da7eea60a8' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/51e56041-9572-403b-80c7-03da7eea60a8' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"51e56041-9572-403b-80c7-03da7eea60a8","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d6b19a94ece7537204850eb1a739ae78","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F51e56041-9572-403b-80c7-03da7eea60a8': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F51e56041-9572-403b-80c7-03da7eea60a8","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"344c3402-8f3e-439a-8d91-a28aabc435e5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836269.9483078} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d6b19a94ece7537204850eb1a739ae78","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"65cc6cbf-d84f-4dcb-b1ff-4ca458e796cd","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836269.9484322} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"09a2bb87d508fc5fea858072cf0f6e92","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/51e56041-9572-403b-80c7-03da7eea60a8"}}},"level":"info","message":"received a callback","requestID":"d6b19a94ece7537204850eb1a739ae78"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"09a2bb87d508fc5fea858072cf0f6e92","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"77275ca0-651d-11ef-83ce-bd5a3df00b5c","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":"connected","url":"http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/51e56041-9572-403b-80c7-03da7eea60a8"}}},"level":"info","message":"received a callback","requestID":"09a2bb87d508fc5fea858072cf0f6e92"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"77275ca0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/51e56041-9572-403b-80c7-03da7eea60a8 204 66ms","method":"DELETE","requestID":"77275ca0-651d-11ef-83ce-bd5a3df00b5c","responseTime":66,"status":204,"url":"/peerconnections/51e56041-9572-403b-80c7-03da7eea60a8"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7"},"level":"info","message":"Successfully finished experiment","requestID":"87b82943ab43c523441672f11509e660"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"77342de0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":236,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:10Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F08468e16-7236-4541-b561-cedbb4def7e2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"708dd6dc-0da4-4aae-9d9e-def70053cad6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836270.0193083} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":236,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.3513,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"77342de0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"77342de0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"77342de0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/08468e16-7236-4541-b561-cedbb4def7e2/signaling 200 11ms","method":"POST","requestID":"77342de0-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/08468e16-7236-4541-b561-cedbb4def7e2/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"773629b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":237,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:10Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F57470d80-52ae-48a5-b2ff-c8368ce38da7': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F57470d80-52ae-48a5-b2ff-c8368ce38da7","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"e4fa67a3-61b4-4932-9f71-5b68f877c7f6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836270.0326815} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5184b280-cd1c-4fa8-b99c-4daa7974546c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"92608778-f893-4bb1-9b1f-e1dd098b0a10","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836270.0331783} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1db8e64a-6de6-435a-806b-4d77fa8d0697","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836270.0334947} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"87b82943ab43c523441672f11509e660","responseTime":22,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":237,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.374234,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"773629b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c","object_type":"device","rebac_allow":false,"scope_allow":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":"773629b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"773629b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/5184b280-cd1c-4fa8-b99c-4daa7974546c/signaling 200 12ms","method":"POST","requestID":"773629b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/5184b280-cd1c-4fa8-b99c-4daa7974546c/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7","requestID":"87b82943ab43c523441672f11509e660"} gateway-1 | {"time_local":"28/Aug/2024:09:11:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.183","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"87b82943ab43c523441672f11509e660"} experiment-1 | {"level":"info","message":"DELETE /experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7 204 180ms","method":"DELETE","requestID":"87b82943ab43c523441672f11509e660","responseTime":180,"status":204,"url":"/experiments/57470d80-52ae-48a5-b2ff-c8368ce38da7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3MH0.V_aNUIHU806UuLlOEdI-_kPCokzm3TLpkIifEB8s3lE","level":"info","message":"auth send jwt","requestID":"b27c2daf3c682dfe022821406f8ed0ba"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 158ms","method":"POST","requestID":"d6b19a94ece7537204850eb1a739ae78","responseTime":158,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.162","http_referrer":"","http_user_agent":"node-fetch","requestID":"d6b19a94ece7537204850eb1a739ae78"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"b27c2daf3c682dfe022821406f8ed0ba","responseTime":4,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.164","http_referrer":"","http_user_agent":"node-fetch","requestID":"09a2bb87d508fc5fea858072cf0f6e92"} gateway-1 | {"time_local":"28/Aug/2024:09:11:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2629","request_time":"1.534","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"1a11d86314f28f0feadd087dfb3e4b55"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 160ms","method":"POST","requestID":"09a2bb87d508fc5fea858072cf0f6e92","responseTime":160,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2630","request_time":"1.521","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"fd840abcb41d92350e0694ea21c6d114"} device-1 | {"level":"info","message":"postDevices called","requestID":"b27c2daf3c682dfe022821406f8ed0ba"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":238,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:10Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":238,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.726568,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:10Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b27c2daf3c682dfe022821406f8ed0ba","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836270,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3MH0.V_aNUIHU806UuLlOEdI-_kPCokzm3TLpkIifEB8s3lE"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/08468e16-7236-4541-b561-cedbb4def7e2' closed"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b27c2daf3c682dfe022821406f8ed0ba","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/5184b280-cd1c-4fa8-b99c-4daa7974546c' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"531b9d9a-7548-462f-b40a-2e28cb66fe56","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836270.1461074} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b27c2daf3c682dfe022821406f8ed0ba","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a805b6c1-3846-4032-9991-ee540371b101","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836270.1511512} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"b27c2daf3c682dfe022821406f8ed0ba","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"d58578f1-b296-4ca0-b364-3154d5ae3828","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836270.1623693} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"550bc432-63bb-4aef-91c1-e2c1d6af77e2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836270.1624749} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"b27c2daf3c682dfe022821406f8ed0ba","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:10.162351648Z"}]},"request_id":"2c4c2071-873c-469f-b676-36517ecb4ede","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836270.16768} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b27c2daf3c682dfe022821406f8ed0ba","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"b27c2daf3c682dfe022821406f8ed0ba"} gateway-1 | {"time_local":"28/Aug/2024:09:11:10 +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":"b27c2daf3c682dfe022821406f8ed0ba"} device-1 | {"level":"info","message":"POST /devices? 201 54ms","method":"POST","requestID":"b27c2daf3c682dfe022821406f8ed0ba","responseTime":54,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3MH0.V_aNUIHU806UuLlOEdI-_kPCokzm3TLpkIifEB8s3lE","level":"info","message":"auth send jwt","requestID":"439e226e86bfe26c605a23cd5145c561"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"439e226e86bfe26c605a23cd5145c561","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"439e226e86bfe26c605a23cd5145c561"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":239,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:10Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":239,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.711418,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:10Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"439e226e86bfe26c605a23cd5145c561","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836270,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3MH0.V_aNUIHU806UuLlOEdI-_kPCokzm3TLpkIifEB8s3lE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"439e226e86bfe26c605a23cd5145c561","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"51a277a9-d0ab-4ea2-a7a6-e89db5f2d2a0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836270.193381} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"439e226e86bfe26c605a23cd5145c561","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"612aeb3e-da0a-4859-a2f8-e19667104e7a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836270.198559} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"439e226e86bfe26c605a23cd5145c561","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"b9b3a406-c734-4194-9dbd-d3d4f23eca98","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836270.2155514} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dd99390b-fed3-4e35-b5b7-7cbdaafe07c4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836270.2157013} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"439e226e86bfe26c605a23cd5145c561","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:10.215518619Z"}]},"request_id":"b63b50b9-3d8b-4c22-a322-e4ae4ca4e3ad","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836270.220982} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"439e226e86bfe26c605a23cd5145c561","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"439e226e86bfe26c605a23cd5145c561"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"439e226e86bfe26c605a23cd5145c561","responseTime":48,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"28/Aug/2024:09:11:10 +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":"439e226e86bfe26c605a23cd5145c561"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3MH0.V_aNUIHU806UuLlOEdI-_kPCokzm3TLpkIifEB8s3lE","level":"info","message":"auth send jwt","requestID":"f3e0d9b84a977a7b10d5a91e12dd0f58"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f3e0d9b84a977a7b10d5a91e12dd0f58","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"f3e0d9b84a977a7b10d5a91e12dd0f58"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":240,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:10Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":240,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.804659,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:10Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"f3e0d9b84a977a7b10d5a91e12dd0f58","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836270,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3MH0.V_aNUIHU806UuLlOEdI-_kPCokzm3TLpkIifEB8s3lE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f3e0d9b84a977a7b10d5a91e12dd0f58","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:10.215518619Z"}]},"request_id":"538e753d-ecc3-4882-b6f3-f47412e65998","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836270.8002627} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f3e0d9b84a977a7b10d5a91e12dd0f58","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"70ea39aa-e353-4835-9b5f-73aeddc21c5d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836270.805804} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"f3e0d9b84a977a7b10d5a91e12dd0f58","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:10.215518619Z"}]},"request_id":"dd810424-a1f4-458b-a0ae-a65783aa9246","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836270.8359637} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f3e0d9b84a977a7b10d5a91e12dd0f58","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"f3e0d9b84a977a7b10d5a91e12dd0f58"} gateway-1 | {"time_local":"28/Aug/2024:09:11:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/c11f20f3-a37c-46b5-a472-ad4d210b983c HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.053","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"f3e0d9b84a977a7b10d5a91e12dd0f58"} device-1 | {"level":"info","message":"PATCH /devices/c11f20f3-a37c-46b5-a472-ad4d210b983c 200 48ms","method":"PATCH","requestID":"f3e0d9b84a977a7b10d5a91e12dd0f58","responseTime":48,"status":200,"url":"/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3MH0.V_aNUIHU806UuLlOEdI-_kPCokzm3TLpkIifEB8s3lE","level":"info","message":"auth send jwt","requestID":"1fcf41e5d2c265b1e4dad2d1bc393012"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"1fcf41e5d2c265b1e4dad2d1bc393012","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"1fcf41e5d2c265b1e4dad2d1bc393012"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":241,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:10Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":241,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.69569,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:10Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"1fcf41e5d2c265b1e4dad2d1bc393012","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836270,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3MH0.V_aNUIHU806UuLlOEdI-_kPCokzm3TLpkIifEB8s3lE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1fcf41e5d2c265b1e4dad2d1bc393012","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"1fcf41e5d2c265b1e4dad2d1bc393012"} gateway-1 | {"time_local":"28/Aug/2024:09:11:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c11f20f3-a37c-46b5-a472-ad4d210b983c/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":"1fcf41e5d2c265b1e4dad2d1bc393012"} device-1 | {"level":"info","message":"POST /devices/c11f20f3-a37c-46b5-a472-ad4d210b983c/websocket 200 22ms","method":"POST","requestID":"1fcf41e5d2c265b1e4dad2d1bc393012","responseTime":22,"status":200,"url":"/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"60c3891cd5954f527eb10b492cf92c3d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"60c3891cd5954f527eb10b492cf92c3d","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48/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":"60c3891cd5954f527eb10b492cf92c3d"} device-1 | {"level":"info","message":"OPTIONS /devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48/websocket 200 1ms","method":"OPTIONS","requestID":"60c3891cd5954f527eb10b492cf92c3d","responseTime":1,"status":200,"url":"/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Mn0.wFqsJkKUVAJB9-gZn3tMXLy0l_IqQ75Z-xTSY3PU9eU","level":"info","message":"auth send jwt","requestID":"275a0ad91eba8d595069706ef0486591"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"275a0ad91eba8d595069706ef0486591","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"275a0ad91eba8d595069706ef0486591"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":242,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":242,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.83617,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"275a0ad91eba8d595069706ef0486591","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836272,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Mn0.wFqsJkKUVAJB9-gZn3tMXLy0l_IqQ75Z-xTSY3PU9eU"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"275a0ad91eba8d595069706ef0486591","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"275a0ad91eba8d595069706ef0486591"} device-1 | {"level":"info","message":"POST /devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48/websocket 200 39ms","method":"POST","requestID":"275a0ad91eba8d595069706ef0486591","responseTime":39,"status":200,"url":"/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48/websocket"} gateway-1 | {"time_local":"28/Aug/2024:09:11:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.043","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"275a0ad91eba8d595069706ef0486591"} device-1 | {"level":"info","message":"device 'http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Mn0.wFqsJkKUVAJB9-gZn3tMXLy0l_IqQ75Z-xTSY3PU9eU","level":"info","message":"auth send jwt","requestID":"deaa678e774651014ac590ec250db73c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"deaa678e774651014ac590ec250db73c","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"deaa678e774651014ac590ec250db73c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":243,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":243,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.686821,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"deaa678e774651014ac590ec250db73c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836272,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Mn0.wFqsJkKUVAJB9-gZn3tMXLy0l_IqQ75Z-xTSY3PU9eU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"deaa678e774651014ac590ec250db73c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:10.162351648Z"}]},"request_id":"b6b1e978-b5d5-4492-86cb-180d7ef6b413","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836272.2106748} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"deaa678e774651014ac590ec250db73c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"deaa678e774651014ac590ec250db73c"} gateway-1 | {"time_local":"28/Aug/2024:09:11:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48? 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":"deaa678e774651014ac590ec250db73c"} device-1 | {"level":"info","message":"GET /devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48? 200 12ms","method":"GET","requestID":"deaa678e774651014ac590ec250db73c","responseTime":12,"status":200,"url":"/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Mn0.wFqsJkKUVAJB9-gZn3tMXLy0l_IqQ75Z-xTSY3PU9eU","level":"info","message":"auth send jwt","requestID":"7dcd8e5f278b3544934311ceffb92b4a"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"7dcd8e5f278b3544934311ceffb92b4a","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7dcd8e5f278b3544934311ceffb92b4a"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":244,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":244,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.683063,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7dcd8e5f278b3544934311ceffb92b4a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836272,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Mn0.wFqsJkKUVAJB9-gZn3tMXLy0l_IqQ75Z-xTSY3PU9eU"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"7dcd8e5f278b3544934311ceffb92b4a","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:10.215518619Z"}]},"request_id":"4073d7ac-ef7a-497f-bbab-4edc01e16432","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836272.2265623} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7dcd8e5f278b3544934311ceffb92b4a","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7dcd8e5f278b3544934311ceffb92b4a"} gateway-1 | {"time_local":"28/Aug/2024:09:11:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c11f20f3-a37c-46b5-a472-ad4d210b983c? 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":"7dcd8e5f278b3544934311ceffb92b4a"} device-1 | {"level":"info","message":"GET /devices/c11f20f3-a37c-46b5-a472-ad4d210b983c? 200 12ms","method":"GET","requestID":"7dcd8e5f278b3544934311ceffb92b4a","responseTime":12,"status":200,"url":"/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Mn0.wFqsJkKUVAJB9-gZn3tMXLy0l_IqQ75Z-xTSY3PU9eU","level":"info","message":"auth send jwt","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":245,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":245,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.940186,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836272,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Mn0.wFqsJkKUVAJB9-gZn3tMXLy0l_IqQ75Z-xTSY3PU9eU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20"},"level":"info","message":"Attempting to run experiment","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20"},"level":"info","message":"Attempting to book experiment","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20"},"level":"info","message":"Successfully booked experiment","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"788c91f0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"788cb900-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":246,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":246,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.632211,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":247,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"788c91f0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836272,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Mn0.wFqsJkKUVAJB9-gZn3tMXLy0l_IqQ75Z-xTSY3PU9eU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"788c91f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":247,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.623696,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"788cb900-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836272,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Mn0.wFqsJkKUVAJB9-gZn3tMXLy0l_IqQ75Z-xTSY3PU9eU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"788cb900-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:10.162351648Z"}]},"request_id":"4cf441ac-989f-4d3a-aa0e-1fca8c101a4c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836272.2808132} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"788c91f0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:10.215518619Z"}]},"request_id":"c237376a-bfa2-4870-8bb9-70802a1380fe","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836272.282128} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"788cb900-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"788c91f0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48? 200 16ms","method":"GET","requestID":"788c91f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"788cb900-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/c11f20f3-a37c-46b5-a472-ad4d210b983c? 200 16ms","method":"GET","requestID":"788cb900-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20"},"level":"info","message":"Setting up experiment","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20"},"level":"info","message":"Successfully locked booking for experiment","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20"},"level":"info","message":"Attempting to update booking for experiment","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20"},"level":"info","message":"Successfully updated booking for experiment","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20"},"level":"info","message":"Successfully set up experiment","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7894a840-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7894f660-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"78951d70-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20"},"level":"info","message":"Successfully running experiment","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":248,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":248,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.902138,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":249,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7894a840-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836272,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Mn0.wFqsJkKUVAJB9-gZn3tMXLy0l_IqQ75Z-xTSY3PU9eU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7894a840-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":249,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.82119,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":250,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7894f660-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836272,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Mn0.wFqsJkKUVAJB9-gZn3tMXLy0l_IqQ75Z-xTSY3PU9eU"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7894f660-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"163f4042-958a-4848-8a29-deba44fb307d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836272.3352635} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":250,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.281358,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"78951d70-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","object_type":"device","rebac_allow":false,"scope_allow":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":"78951d70-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:10.162351648Z"}]},"request_id":"529040c7-e41a-4b28-b055-6e5f177b494a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836272.3378632} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:10.215518619Z"}]},"request_id":"d8cab8f0-41d3-4fe8-a967-302a70125311","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836272.3392475} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"7894a840-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7894f660-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"78951d70-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48/signaling 200 18ms","method":"POST","requestID":"78951d70-651d-11ef-83ce-bd5a3df00b5c","responseTime":18,"status":200,"url":"/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7894a840-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48? 200 22ms","method":"GET","requestID":"7894a840-651d-11ef-83ce-bd5a3df00b5c","responseTime":22,"status":200,"url":"/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7894f660-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/c11f20f3-a37c-46b5-a472-ad4d210b983c? 200 21ms","method":"GET","requestID":"7894f660-651d-11ef-83ce-bd5a3df00b5c","responseTime":21,"status":200,"url":"/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"789851c0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd31c3047-3c7c-43fe-8f7f-f528bc73ef20#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd31c3047-3c7c-43fe-8f7f-f528bc73ef20","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"dbe9e0cd-a65b-4a95-af6e-8390f8f50e78","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836272.3504097} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"237de5f4-f674-4012-80af-a1b6ef0f4fe8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836272.3515136} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"78991510-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7","responseTime":20,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":251,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1deb8624-7ac5-40cd-a062-40e5479aaae3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836272.3542886} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":251,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.820087,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":252,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"789851c0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","object_type":"device","rebac_allow":false,"scope_allow":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":"789851c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bc5b0f92-55d5-4490-9e05-6426564158a7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836272.358487} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":252,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.976727,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"78991510-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"78991510-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"789851c0-651d-11ef-83ce-bd5a3df00b5c"} gateway-1 | {"time_local":"28/Aug/2024:09:11:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"781","request_time":"0.131","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} device-1 | {"level":"info","message":"POST /devices/c11f20f3-a37c-46b5-a472-ad4d210b983c/signaling 200 15ms","method":"POST","requestID":"789851c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c/signaling"} experiment-1 | {"level":"info","message":"POST /experiments? 201 128ms","method":"POST","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7","responseTime":128,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"78991510-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48/signaling 200 13ms","method":"POST","requestID":"78991510-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Mn0.wFqsJkKUVAJB9-gZn3tMXLy0l_IqQ75Z-xTSY3PU9eU","level":"info","message":"auth send jwt","requestID":"7472a84d7b51c9f243c56c838347c6e8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7472a84d7b51c9f243c56c838347c6e8","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"789b8610-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7472a84d7b51c9f243c56c838347c6e8"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":253,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Received request.","req_id":254,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8961decf-436c-4024-aeef-63dcc865b245","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836272.374204} authorization-1 | {"client_addr":"127.0.0.1:34688","level":"info","msg":"Sent response.","req_id":254,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.874902,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":253,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.212639,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7472a84d7b51c9f243c56c838347c6e8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836272,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Mn0.wFqsJkKUVAJB9-gZn3tMXLy0l_IqQ75Z-xTSY3PU9eU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7472a84d7b51c9f243c56c838347c6e8","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"789b8610-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"789b8610-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:10.162351648Z"}]},"request_id":"201efba8-81b4-46c6-a854-da0981122afa","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836272.3795419} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7472a84d7b51c9f243c56c838347c6e8","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"789b8610-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/c11f20f3-a37c-46b5-a472-ad4d210b983c/signaling 200 12ms","method":"POST","requestID":"789b8610-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20"},"level":"info","message":"Building connection plan","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"ca37b7cd-3e3a-43b9-a7d8-451c08dac609"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"e6e9d2b4-ea78-4c49-81c9-0dab35531992"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/file","uuid":"5f77fd13-0437-4c9c-9123-b24381a24d7f"}]},"level":"info","message":"Built pairwise service configurations","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} 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/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"789dd000-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7472a84d7b51c9f243c56c838347c6e8"} gateway-1 | {"time_local":"28/Aug/2024:09:11:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48? 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":"7472a84d7b51c9f243c56c838347c6e8"} device-1 | {"level":"info","message":"GET /devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48? 200 16ms","method":"GET","requestID":"7472a84d7b51c9f243c56c838347c6e8","responseTime":16,"status":200,"url":"/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48?"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":255,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":255,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.907126,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"789dd000-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836272,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Mn0.wFqsJkKUVAJB9-gZn3tMXLy0l_IqQ75Z-xTSY3PU9eU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"789dd000-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Mn0.wFqsJkKUVAJB9-gZn3tMXLy0l_IqQ75Z-xTSY3PU9eU","level":"info","message":"auth send jwt","requestID":"1c832f340390bebf013f9aba0e79fd9f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1c832f340390bebf013f9aba0e79fd9f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1c832f340390bebf013f9aba0e79fd9f"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":256,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":256,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.910248,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"1c832f340390bebf013f9aba0e79fd9f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836272,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Mn0.wFqsJkKUVAJB9-gZn3tMXLy0l_IqQ75Z-xTSY3PU9eU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1c832f340390bebf013f9aba0e79fd9f","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"f2ee4944-8c25-4857-902e-503b46078e8a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836272.3984933} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"df9d812c-65d7-42c3-ba72-30cbbb18f835","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836272.3988273} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:10.215518619Z"}]},"request_id":"464ec219-961f-4492-a299-e8e22743ada8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836272.3996592} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"789dd000-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1c832f340390bebf013f9aba0e79fd9f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1c832f340390bebf013f9aba0e79fd9f"} gateway-1 | {"time_local":"28/Aug/2024:09:11:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c11f20f3-a37c-46b5-a472-ad4d210b983c? 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":"1c832f340390bebf013f9aba0e79fd9f"} device-1 | {"level":"info","message":"GET /devices/c11f20f3-a37c-46b5-a472-ad4d210b983c? 200 13ms","method":"GET","requestID":"1c832f340390bebf013f9aba0e79fd9f","responseTime":13,"status":200,"url":"/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"789dd000-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"789dd000-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/d6751fea-decf-4c55-90ba-760deaf3b38d'","requestID":"789dd000-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/d6751fea-decf-4c55-90ba-760deaf3b38d'","requestID":"789dd000-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"789dd000-651d-11ef-83ce-bd5a3df00b5c"} 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":"789dd000-651d-11ef-83ce-bd5a3df00b5c","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":"789dd000-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/d6751fea-decf-4c55-90ba-760deaf3b38d","device":"136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","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/d31c3047-3c7c-43fe-8f7f-f528bc73ef20"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"bc1e9d4e8b5ed15ae19f943bd0eac2c7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"78a6d0b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":257,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"43b64e3a-f02d-40ef-97b5-3344e7e979cd","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836272.4479966} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":257,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.613516,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"78a6d0b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"78a6d0b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"78a6d0b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48/signaling 200 9ms","method":"POST","requestID":"78a6d0b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"78a8f390-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"device":"136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":258,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"18785bf6-c4d1-4512-939a-37d1d7344e79","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836272.4635649} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":258,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.317549,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:12Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"78a8f390-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"78a8f390-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"78a8f390-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/c11f20f3-a37c-46b5-a472-ad4d210b983c/signaling 200 10ms","method":"POST","requestID":"78a8f390-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c/signaling"} device-1 | {"device":"c11f20f3-a37c-46b5-a472-ad4d210b983c","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":"d6751fea-decf-4c55-90ba-760deaf3b38d","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 9131009683364366352 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:gGJc\r\na=ice-pwd:LyjqTiUEd4aOOxtk6cdORcNq\r\na=ice-options:trickle\r\na=fingerprint:sha-256 B2:A8:A6:BF:D1:20:41:00:AA:D0:CA:68:C0:34:49:76:EB:17:5A:07:98:62:DB:95:3A:A9:BC:62:7E:61:08:41\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"device":"136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:3812425769 1 udp 2113937151 24fee2c8-51da-46e7-99b7-c127bc387600.local 51981 typ host generation 0 ufrag gGJc network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","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/d6751fea-decf-4c55-90ba-760deaf3b38d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d6751fea-decf-4c55-90ba-760deaf3b38d","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"c11f20f3-a37c-46b5-a472-ad4d210b983c","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":"ea396c1c071f07c4456fc0ba68051f3d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ea396c1c071f07c4456fc0ba68051f3d","responseTime":1,"status":200,"url":"/auth"} device-1 | {"device":"c11f20f3-a37c-46b5-a472-ad4d210b983c","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":"c11f20f3-a37c-46b5-a472-ad4d210b983c","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:3949284334 1 udp 1677729535 141.24.211.56 51981 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag gGJc network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} 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/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"new","url":"http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/d6751fea-decf-4c55-90ba-760deaf3b38d"}}},"level":"info","message":"received a callback","requestID":"ea396c1c071f07c4456fc0ba68051f3d"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48'"} device-1 | {"device":"136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 8ms","method":"POST","requestID":"ea396c1c071f07c4456fc0ba68051f3d","responseTime":8,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch","requestID":"ea396c1c071f07c4456fc0ba68051f3d"} device-1 | {"device":"c11f20f3-a37c-46b5-a472-ad4d210b983c","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":"136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"c11f20f3-a37c-46b5-a472-ad4d210b983c","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":"d6751fea-decf-4c55-90ba-760deaf3b38d","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"d6751fea-decf-4c55-90ba-760deaf3b38d","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/d6751fea-decf-4c55-90ba-760deaf3b38d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d6751fea-decf-4c55-90ba-760deaf3b38d","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2077b23a40c7eb5351ab883f10a9f277","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"2077b23a40c7eb5351ab883f10a9f277","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/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/d6751fea-decf-4c55-90ba-760deaf3b38d"}}},"level":"info","message":"received a callback","requestID":"2077b23a40c7eb5351ab883f10a9f277"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"79e80340-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":259,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:14Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd6751fea-decf-4c55-90ba-760deaf3b38d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f398121a-aaea-4720-8a0e-f4a584e4b4e2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836274.553561} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":259,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.9942,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:14Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/d6751fea-decf-4c55-90ba-760deaf3b38d","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"79e80340-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/d6751fea-decf-4c55-90ba-760deaf3b38d","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":"79e80340-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"79e80340-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/d6751fea-decf-4c55-90ba-760deaf3b38d 200 12ms","method":"GET","requestID":"79e80340-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/peerconnections/d6751fea-decf-4c55-90ba-760deaf3b38d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 49ms","method":"POST","requestID":"2077b23a40c7eb5351ab883f10a9f277","responseTime":49,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.052","http_referrer":"","http_user_agent":"node-fetch","requestID":"2077b23a40c7eb5351ab883f10a9f277"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"79ed8180-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":260,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:14Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6ac9a7c1-4660-4b2a-9612-2e365feb999e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836274.5910792} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":260,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.130076,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:14Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"79ed8180-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"79ed8180-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"79ed8180-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48/signaling 200 12ms","method":"POST","requestID":"79ed8180-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"79efcb70-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":261,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:14Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d7a90e7c-2774-442b-9de1-ee1811e0939d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836274.6057255} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":261,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.82714,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:14Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"79efcb70-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","object_type":"device","rebac_allow":false,"scope_allow":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":"79efcb70-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"79efcb70-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/c11f20f3-a37c-46b5-a472-ad4d210b983c/signaling 200 13ms","method":"POST","requestID":"79efcb70-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3NX0.md1SnFqZqbtLTNkNm9g0lCCbMp6GYculJkWERQ-c4Fo","level":"info","message":"auth send jwt","requestID":"d576733654ec2e2f224995655ccb6f85"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d576733654ec2e2f224995655ccb6f85","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20","requestID":"d576733654ec2e2f224995655ccb6f85"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":262,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:15Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":262,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.879358,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:15Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"d576733654ec2e2f224995655ccb6f85","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836275,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3NX0.md1SnFqZqbtLTNkNm9g0lCCbMp6GYculJkWERQ-c4Fo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d576733654ec2e2f224995655ccb6f85","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20","requestID":"d576733654ec2e2f224995655ccb6f85"} gateway-1 | {"time_local":"28/Aug/2024:09:11:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20 HTTP/1.1","status": "200","body_bytes_sent":"854","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d576733654ec2e2f224995655ccb6f85"} experiment-1 | {"level":"info","message":"GET /experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20 200 11ms","method":"GET","requestID":"d576733654ec2e2f224995655ccb6f85","responseTime":11,"status":200,"url":"/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3NX0.md1SnFqZqbtLTNkNm9g0lCCbMp6GYculJkWERQ-c4Fo","level":"info","message":"auth send jwt","requestID":"4d1bd6f06f9f7fe4d53a6a43d0b90bb9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"4d1bd6f06f9f7fe4d53a6a43d0b90bb9","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20","requestID":"4d1bd6f06f9f7fe4d53a6a43d0b90bb9"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":263,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:15Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":263,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.652007,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:15Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"4d1bd6f06f9f7fe4d53a6a43d0b90bb9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836275,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3NX0.md1SnFqZqbtLTNkNm9g0lCCbMp6GYculJkWERQ-c4Fo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4d1bd6f06f9f7fe4d53a6a43d0b90bb9","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20"},"level":"info","message":"Attempting to finish experiment","requestID":"4d1bd6f06f9f7fe4d53a6a43d0b90bb9"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"7a56a390-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":264,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:15Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":264,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.651619,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:15Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/d6751fea-decf-4c55-90ba-760deaf3b38d","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7a56a390-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/d6751fea-decf-4c55-90ba-760deaf3b38d","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836275,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3NX0.md1SnFqZqbtLTNkNm9g0lCCbMp6GYculJkWERQ-c4Fo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7a56a390-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/d6751fea-decf-4c55-90ba-760deaf3b38d","device":"136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"c11f20f3-a37c-46b5-a472-ad4d210b983c","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":"c11f20f3-a37c-46b5-a472-ad4d210b983c","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":"c11f20f3-a37c-46b5-a472-ad4d210b983c","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/d6751fea-decf-4c55-90ba-760deaf3b38d' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/d6751fea-decf-4c55-90ba-760deaf3b38d' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"d6751fea-decf-4c55-90ba-760deaf3b38d","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd6751fea-decf-4c55-90ba-760deaf3b38d': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fd6751fea-decf-4c55-90ba-760deaf3b38d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"c7429853-5754-4fe9-875f-05801cbb8c00","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836275.29203} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7984d222dc9f602c7947322baed9d272","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9f481628-94bc-41cb-9075-5c644ca2330c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836275.2924035} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"7984d222dc9f602c7947322baed9d272","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/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/d6751fea-decf-4c55-90ba-760deaf3b38d"}}},"level":"info","message":"received a callback","requestID":"7984d222dc9f602c7947322baed9d272"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"7a56a390-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ac82faebcbb7caaafa0f0995aac6fd6d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ac82faebcbb7caaafa0f0995aac6fd6d","responseTime":1,"status":200,"url":"/auth"} 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":"connected","url":"http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48"},{"config":{"services":[{"remoteServiceId":"file_producer","serviceId":"file_consumer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/d6751fea-decf-4c55-90ba-760deaf3b38d"}}},"level":"info","message":"received a callback","requestID":"ac82faebcbb7caaafa0f0995aac6fd6d"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"7a56a390-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/d6751fea-decf-4c55-90ba-760deaf3b38d 204 36ms","method":"DELETE","requestID":"7a56a390-651d-11ef-83ce-bd5a3df00b5c","responseTime":36,"status":204,"url":"/peerconnections/d6751fea-decf-4c55-90ba-760deaf3b38d"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20"},"level":"info","message":"Successfully finished experiment","requestID":"4d1bd6f06f9f7fe4d53a6a43d0b90bb9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7a5fcb50-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":265,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:15Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b4f044e3-8e9f-4b8a-95fd-1650d7f0381f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836275.3383193} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":265,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.510442,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:15Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7a5fcb50-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48","object_type":"device","rebac_allow":false,"scope_allow":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":"7a5fcb50-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd31c3047-3c7c-43fe-8f7f-f528bc73ef20': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fd31c3047-3c7c-43fe-8f7f-f528bc73ef20","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"323b0b42-7283-4b6c-b6a5-37dd6c38fa61","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836275.3453448} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"daf3c1cc-280e-4d36-8e41-166c8ac40908","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836275.34639} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"4d1bd6f06f9f7fe4d53a6a43d0b90bb9","responseTime":18,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7a5fcb50-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48/signaling 200 19ms","method":"POST","requestID":"7a5fcb50-651d-11ef-83ce-bd5a3df00b5c","responseTime":19,"status":200,"url":"/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7a634dc0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":266,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:15Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc11f20f3-a37c-46b5-a472-ad4d210b983c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cc241ce2-a5a1-45ac-b58e-d734a26d1913","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836275.3616536} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":266,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.841454,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:15Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7a634dc0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7a634dc0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7a634dc0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/c11f20f3-a37c-46b5-a472-ad4d210b983c/signaling 200 13ms","method":"POST","requestID":"7a634dc0-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20","requestID":"4d1bd6f06f9f7fe4d53a6a43d0b90bb9"} gateway-1 | {"time_local":"28/Aug/2024:09:11:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.158","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4d1bd6f06f9f7fe4d53a6a43d0b90bb9"} experiment-1 | {"level":"info","message":"DELETE /experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20 204 154ms","method":"DELETE","requestID":"4d1bd6f06f9f7fe4d53a6a43d0b90bb9","responseTime":154,"status":204,"url":"/experiments/d31c3047-3c7c-43fe-8f7f-f528bc73ef20"} gateway-1 | {"time_local":"28/Aug/2024:09:11:15 +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.552","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"19a22941a409abbeaf787e3897152275"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 136ms","method":"POST","requestID":"7984d222dc9f602c7947322baed9d272","responseTime":136,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.140","http_referrer":"","http_user_agent":"node-fetch","requestID":"7984d222dc9f602c7947322baed9d272"} gateway-1 | {"time_local":"28/Aug/2024:09:11:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2490","request_time":"3.249","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"a3282bc6dec08ed8832e114cdffc4a7c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3NX0.md1SnFqZqbtLTNkNm9g0lCCbMp6GYculJkWERQ-c4Fo","level":"info","message":"auth send jwt","requestID":"5365d4f543fbfe4825742bcd04e85411"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5365d4f543fbfe4825742bcd04e85411","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 149ms","method":"POST","requestID":"ac82faebcbb7caaafa0f0995aac6fd6d","responseTime":149,"status":200,"url":"/callbacks/experiment"} device-1 | {"level":"info","message":"postDevices called","requestID":"5365d4f543fbfe4825742bcd04e85411"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/136d94e7-3b77-45b7-a0b3-c3c7b35d2e48' closed"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.154","http_referrer":"","http_user_agent":"node-fetch","requestID":"ac82faebcbb7caaafa0f0995aac6fd6d"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":267,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:15Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":267,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.916346,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:15Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"5365d4f543fbfe4825742bcd04e85411","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836275,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3NX0.md1SnFqZqbtLTNkNm9g0lCCbMp6GYculJkWERQ-c4Fo"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/c11f20f3-a37c-46b5-a472-ad4d210b983c' closed"} authorization-1 | {"level":"info","message":"POST /authorize 200 12ms","method":"POST","requestID":"5365d4f543fbfe4825742bcd04e85411","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"0a4dd830-876d-4717-b81b-caeb7f0ee4ec","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836275.4737227} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"5365d4f543fbfe4825742bcd04e85411","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d442756b-385b-4cbd-8141-d0cb17debccd","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836275.4818995} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"5365d4f543fbfe4825742bcd04e85411","responseTime":9,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"5bb837d8-548a-489d-8052-59c9d6766d95","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836275.4950845} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"41a7bd30-9d56-4191-a7e8-673e16fcff92","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836275.4952466} authorization-1 | {"level":"info","message":"POST /relations/update 200 11ms","method":"POST","requestID":"5365d4f543fbfe4825742bcd04e85411","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:15.495060377Z"}]},"request_id":"1c49a2e1-408d-4814-ae9f-acfedb2f0167","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836275.4999242} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5365d4f543fbfe4825742bcd04e85411","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"5365d4f543fbfe4825742bcd04e85411"} gateway-1 | {"time_local":"28/Aug/2024:09:11:15 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.081","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5365d4f543fbfe4825742bcd04e85411"} device-1 | {"level":"info","message":"POST /devices? 201 59ms","method":"POST","requestID":"5365d4f543fbfe4825742bcd04e85411","responseTime":59,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3NX0.md1SnFqZqbtLTNkNm9g0lCCbMp6GYculJkWERQ-c4Fo","level":"info","message":"auth send jwt","requestID":"37bbbb61b9eadd9bd2efcd72e5d583fe"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"37bbbb61b9eadd9bd2efcd72e5d583fe","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"37bbbb61b9eadd9bd2efcd72e5d583fe"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":268,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:15Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":268,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.850951,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:15Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"37bbbb61b9eadd9bd2efcd72e5d583fe","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836275,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3NX0.md1SnFqZqbtLTNkNm9g0lCCbMp6GYculJkWERQ-c4Fo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"37bbbb61b9eadd9bd2efcd72e5d583fe","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec06720f-37ce-437b-9406-5ba41061e7d6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"03cf41f7-2da7-4047-a9df-aa3b1364c0ea","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836275.5260303} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"37bbbb61b9eadd9bd2efcd72e5d583fe","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e66b1859-117a-4cdb-8479-7a21cdb4987a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836275.5327172} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"37bbbb61b9eadd9bd2efcd72e5d583fe","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec06720f-37ce-437b-9406-5ba41061e7d6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"b152645a-422f-430a-8e6f-2b0094d41887","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836275.5492225} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1777b12f-e03d-4c1c-9da4-9d122cd6e6cd","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836275.5496085} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"37bbbb61b9eadd9bd2efcd72e5d583fe","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec06720f-37ce-437b-9406-5ba41061e7d6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec06720f-37ce-437b-9406-5ba41061e7d6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:15.549202740Z"}]},"request_id":"ec854bd7-9c81-476c-a0d9-d8fbba4c684b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836275.5553138} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"37bbbb61b9eadd9bd2efcd72e5d583fe","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"37bbbb61b9eadd9bd2efcd72e5d583fe"} device-1 | {"level":"info","message":"POST /devices? 201 50ms","method":"POST","requestID":"37bbbb61b9eadd9bd2efcd72e5d583fe","responseTime":50,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"28/Aug/2024:09:11:15 +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":"37bbbb61b9eadd9bd2efcd72e5d583fe"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Nn0.9hZi6xrH0iihkpoHEZFJCPdZfYwo-BL6vXoeHHFOjSo","level":"info","message":"auth send jwt","requestID":"768e3e6ec50b11b943288e4381482ad2"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"768e3e6ec50b11b943288e4381482ad2","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"768e3e6ec50b11b943288e4381482ad2"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":269,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:16Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":269,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.697945,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"768e3e6ec50b11b943288e4381482ad2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836276,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Nn0.9hZi6xrH0iihkpoHEZFJCPdZfYwo-BL6vXoeHHFOjSo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"768e3e6ec50b11b943288e4381482ad2","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:15.495060377Z"}]},"request_id":"3892dbdc-47f3-4d56-80eb-21cebfd4a575","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836276.0977945} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"768e3e6ec50b11b943288e4381482ad2","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"97968e91-1560-4dee-a476-ee2ba5d632fd","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836276.1024723} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"768e3e6ec50b11b943288e4381482ad2","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:15.495060377Z"}]},"request_id":"8edeacc1-b7b5-4f55-825b-3daa0a1df965","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836276.1148908} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"768e3e6ec50b11b943288e4381482ad2","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"768e3e6ec50b11b943288e4381482ad2"} gateway-1 | {"time_local":"28/Aug/2024:09:11:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/d100549a-d024-48ea-a01f-b8e538cf7c1c 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":"768e3e6ec50b11b943288e4381482ad2"} device-1 | {"level":"info","message":"PATCH /devices/d100549a-d024-48ea-a01f-b8e538cf7c1c 200 29ms","method":"PATCH","requestID":"768e3e6ec50b11b943288e4381482ad2","responseTime":29,"status":200,"url":"/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Nn0.9hZi6xrH0iihkpoHEZFJCPdZfYwo-BL6vXoeHHFOjSo","level":"info","message":"auth send jwt","requestID":"4bf7351b82e85cbee1db43ce25619add"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"4bf7351b82e85cbee1db43ce25619add","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"4bf7351b82e85cbee1db43ce25619add"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":270,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:16Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":270,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.72254,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:16Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"4bf7351b82e85cbee1db43ce25619add","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836276,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3Nn0.9hZi6xrH0iihkpoHEZFJCPdZfYwo-BL6vXoeHHFOjSo"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"4bf7351b82e85cbee1db43ce25619add","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"4bf7351b82e85cbee1db43ce25619add"} device-1 | {"level":"info","message":"POST /devices/d100549a-d024-48ea-a01f-b8e538cf7c1c/websocket 200 15ms","method":"POST","requestID":"4bf7351b82e85cbee1db43ce25619add","responseTime":15,"status":200,"url":"/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c/websocket"} gateway-1 | {"time_local":"28/Aug/2024:09:11:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/d100549a-d024-48ea-a01f-b8e538cf7c1c/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":"4bf7351b82e85cbee1db43ce25619add"} device-1 | {"level":"info","message":"device 'http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8de29e7ceb7e37ad1bf7f9c63d8a0c78","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"8de29e7ceb7e37ad1bf7f9c63d8a0c78","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/ec06720f-37ce-437b-9406-5ba41061e7d6/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":"8de29e7ceb7e37ad1bf7f9c63d8a0c78"} device-1 | {"level":"info","message":"OPTIONS /devices/ec06720f-37ce-437b-9406-5ba41061e7d6/websocket 200 1ms","method":"OPTIONS","requestID":"8de29e7ceb7e37ad1bf7f9c63d8a0c78","responseTime":1,"status":200,"url":"/devices/ec06720f-37ce-437b-9406-5ba41061e7d6/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3N30.dtGEbJnJIxxgLPCdAXLKNitp_2dxzuALkqypxCL1hjQ","level":"info","message":"auth send jwt","requestID":"0622922a99fb049b0ef6560067578a89"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0622922a99fb049b0ef6560067578a89","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"0622922a99fb049b0ef6560067578a89"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":271,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":271,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.890852,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"0622922a99fb049b0ef6560067578a89","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836277,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3N30.dtGEbJnJIxxgLPCdAXLKNitp_2dxzuALkqypxCL1hjQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0622922a99fb049b0ef6560067578a89","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"0622922a99fb049b0ef6560067578a89"} gateway-1 | {"time_local":"28/Aug/2024:09:11:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/ec06720f-37ce-437b-9406-5ba41061e7d6/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":"0622922a99fb049b0ef6560067578a89"} device-1 | {"level":"info","message":"POST /devices/ec06720f-37ce-437b-9406-5ba41061e7d6/websocket 200 27ms","method":"POST","requestID":"0622922a99fb049b0ef6560067578a89","responseTime":27,"status":200,"url":"/devices/ec06720f-37ce-437b-9406-5ba41061e7d6/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3N30.dtGEbJnJIxxgLPCdAXLKNitp_2dxzuALkqypxCL1hjQ","level":"info","message":"auth send jwt","requestID":"788d7aaae16d41a5e8172186784d1731"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"788d7aaae16d41a5e8172186784d1731","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"788d7aaae16d41a5e8172186784d1731"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":272,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":272,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.719277,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"788d7aaae16d41a5e8172186784d1731","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836277,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3N30.dtGEbJnJIxxgLPCdAXLKNitp_2dxzuALkqypxCL1hjQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"788d7aaae16d41a5e8172186784d1731","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:15.495060377Z"}]},"request_id":"9e1551f9-d31b-44f6-94ed-08dda8ac6cf4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836277.54574} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"788d7aaae16d41a5e8172186784d1731","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"788d7aaae16d41a5e8172186784d1731"} gateway-1 | {"time_local":"28/Aug/2024:09:11:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d100549a-d024-48ea-a01f-b8e538cf7c1c? 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":"788d7aaae16d41a5e8172186784d1731"} device-1 | {"level":"info","message":"GET /devices/d100549a-d024-48ea-a01f-b8e538cf7c1c? 200 11ms","method":"GET","requestID":"788d7aaae16d41a5e8172186784d1731","responseTime":11,"status":200,"url":"/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3N30.dtGEbJnJIxxgLPCdAXLKNitp_2dxzuALkqypxCL1hjQ","level":"info","message":"auth send jwt","requestID":"5847fdab9aba5d9e11a55c0749d58382"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5847fdab9aba5d9e11a55c0749d58382","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"5847fdab9aba5d9e11a55c0749d58382"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":273,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":273,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.669034,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"5847fdab9aba5d9e11a55c0749d58382","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836277,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3N30.dtGEbJnJIxxgLPCdAXLKNitp_2dxzuALkqypxCL1hjQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5847fdab9aba5d9e11a55c0749d58382","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec06720f-37ce-437b-9406-5ba41061e7d6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec06720f-37ce-437b-9406-5ba41061e7d6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:15.549202740Z"}]},"request_id":"c1f4384c-925e-4e64-8ff2-2c9d025b0fbb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836277.5620933} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5847fdab9aba5d9e11a55c0749d58382","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"5847fdab9aba5d9e11a55c0749d58382"} gateway-1 | {"time_local":"28/Aug/2024:09:11:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ec06720f-37ce-437b-9406-5ba41061e7d6? 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":"5847fdab9aba5d9e11a55c0749d58382"} device-1 | {"level":"info","message":"GET /devices/ec06720f-37ce-437b-9406-5ba41061e7d6? 200 10ms","method":"GET","requestID":"5847fdab9aba5d9e11a55c0749d58382","responseTime":10,"status":200,"url":"/devices/ec06720f-37ce-437b-9406-5ba41061e7d6?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3N30.dtGEbJnJIxxgLPCdAXLKNitp_2dxzuALkqypxCL1hjQ","level":"info","message":"auth send jwt","requestID":"90741e047a955c1ebdf67be17ede1a82"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"90741e047a955c1ebdf67be17ede1a82","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"90741e047a955c1ebdf67be17ede1a82"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":274,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":274,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.028342,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"90741e047a955c1ebdf67be17ede1a82","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836277,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3N30.dtGEbJnJIxxgLPCdAXLKNitp_2dxzuALkqypxCL1hjQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"90741e047a955c1ebdf67be17ede1a82","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868"},"level":"info","message":"Attempting to run experiment","requestID":"90741e047a955c1ebdf67be17ede1a82"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868"},"level":"info","message":"Attempting to book experiment","requestID":"90741e047a955c1ebdf67be17ede1a82"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868"},"level":"info","message":"Successfully booked experiment","requestID":"90741e047a955c1ebdf67be17ede1a82"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7bba7950-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7bbac770-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":275,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":275,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.610363,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7bba7950-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836277,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3N30.dtGEbJnJIxxgLPCdAXLKNitp_2dxzuALkqypxCL1hjQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7bba7950-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":276,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":276,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.836235,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7bbac770-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836277,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3N30.dtGEbJnJIxxgLPCdAXLKNitp_2dxzuALkqypxCL1hjQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7bbac770-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:15.495060377Z"}]},"request_id":"7d0f4766-a491-4691-815b-3f1c431328c6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836277.6150389} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7bba7950-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec06720f-37ce-437b-9406-5ba41061e7d6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec06720f-37ce-437b-9406-5ba41061e7d6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:15.549202740Z"}]},"request_id":"34392724-26a1-4c97-b4cf-deda7aa2bc61","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836277.6157308} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7bbac770-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7bba7950-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/d100549a-d024-48ea-a01f-b8e538cf7c1c? 200 14ms","method":"GET","requestID":"7bba7950-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7bbac770-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/ec06720f-37ce-437b-9406-5ba41061e7d6? 200 13ms","method":"GET","requestID":"7bbac770-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/ec06720f-37ce-437b-9406-5ba41061e7d6?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868"},"level":"info","message":"Setting up experiment","requestID":"90741e047a955c1ebdf67be17ede1a82"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"90741e047a955c1ebdf67be17ede1a82"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868"},"level":"info","message":"Successfully locked booking for experiment","requestID":"90741e047a955c1ebdf67be17ede1a82"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"90741e047a955c1ebdf67be17ede1a82"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"90741e047a955c1ebdf67be17ede1a82"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868"},"level":"info","message":"Attempting to update booking for experiment","requestID":"90741e047a955c1ebdf67be17ede1a82"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868"},"level":"info","message":"Successfully updated booking for experiment","requestID":"90741e047a955c1ebdf67be17ede1a82"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868"},"level":"info","message":"Successfully set up experiment","requestID":"90741e047a955c1ebdf67be17ede1a82"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7bc21a70-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7bc26890-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7bc2b6b0-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868"},"level":"info","message":"Successfully running experiment","requestID":"90741e047a955c1ebdf67be17ede1a82"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":277,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":277,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.650271,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":278,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7bc21a70-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836277,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3N30.dtGEbJnJIxxgLPCdAXLKNitp_2dxzuALkqypxCL1hjQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7bc21a70-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":278,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.900667,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":279,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7bc26890-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836277,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3N30.dtGEbJnJIxxgLPCdAXLKNitp_2dxzuALkqypxCL1hjQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7bc26890-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f27eabcc-d383-4fb8-aa85-ef0ed1542c01","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836277.6651382} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":279,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.192605,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7bc2b6b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","object_type":"device","rebac_allow":false,"scope_allow":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":"7bc2b6b0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:15.495060377Z"}]},"request_id":"f5a9eaff-3bf7-496a-94d8-5cce4dd8f605","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836277.6672456} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec06720f-37ce-437b-9406-5ba41061e7d6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec06720f-37ce-437b-9406-5ba41061e7d6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:15.549202740Z"}]},"request_id":"1ea9a9d0-a5db-4fb9-9ba6-aa9d2a774f7c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836277.6680448} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7bc21a70-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"7bc26890-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7bc2b6b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/d100549a-d024-48ea-a01f-b8e538cf7c1c/signaling 200 16ms","method":"POST","requestID":"7bc2b6b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7bc21a70-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/d100549a-d024-48ea-a01f-b8e538cf7c1c? 200 20ms","method":"GET","requestID":"7bc21a70-651d-11ef-83ce-bd5a3df00b5c","responseTime":20,"status":200,"url":"/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7bc26890-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/ec06720f-37ce-437b-9406-5ba41061e7d6? 200 19ms","method":"GET","requestID":"7bc26890-651d-11ef-83ce-bd5a3df00b5c","responseTime":19,"status":200,"url":"/devices/ec06720f-37ce-437b-9406-5ba41061e7d6?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7bc575d0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7bc5c3f0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":280,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":280,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.253893,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":281,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec06720f-37ce-437b-9406-5ba41061e7d6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1b9a9405-7fbc-4897-b243-8d48bedbf9f0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836277.6810637} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F579e3426-1224-44bc-b185-d03d24d03868#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F579e3426-1224-44bc-b185-d03d24d03868","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"a06a0f59-265f-4e08-9ec9-d6c7866d24ac","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836277.6812067} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0f7efba0-bec3-499d-86e0-1309345ecd39","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836277.6815834} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7bc575d0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7bc575d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":281,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.453924,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1d93be85-e6d7-4725-bea2-32ef116494d0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836277.6840067} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"90741e047a955c1ebdf67be17ede1a82","responseTime":21,"status":200,"url":"/relations/update"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7bc5c3f0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","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":"7bc575d0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7bc5c3f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"POST /devices/ec06720f-37ce-437b-9406-5ba41061e7d6/signaling 200 12ms","method":"POST","requestID":"7bc575d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/ec06720f-37ce-437b-9406-5ba41061e7d6/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7bc5c3f0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/d100549a-d024-48ea-a01f-b8e538cf7c1c/signaling 200 14ms","method":"POST","requestID":"7bc5c3f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"90741e047a955c1ebdf67be17ede1a82"} gateway-1 | {"time_local":"28/Aug/2024:09:11:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"781","request_time":"0.127","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"90741e047a955c1ebdf67be17ede1a82"} experiment-1 | {"level":"info","message":"POST /experiments? 201 123ms","method":"POST","requestID":"90741e047a955c1ebdf67be17ede1a82","responseTime":123,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7bc85c00-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3N30.dtGEbJnJIxxgLPCdAXLKNitp_2dxzuALkqypxCL1hjQ","level":"info","message":"auth send jwt","requestID":"011537b133ed56d57168fbf5b25c9d90"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"011537b133ed56d57168fbf5b25c9d90","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":282,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:17Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"011537b133ed56d57168fbf5b25c9d90"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec06720f-37ce-437b-9406-5ba41061e7d6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cfa7ebe1-1927-44bf-badd-f1f62f7b01cf","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836277.700562} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":282,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.466072,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":283,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7bc85c00-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7bc85c00-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":283,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.66188,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"011537b133ed56d57168fbf5b25c9d90","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836277,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3N30.dtGEbJnJIxxgLPCdAXLKNitp_2dxzuALkqypxCL1hjQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"011537b133ed56d57168fbf5b25c9d90","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7bc85c00-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/ec06720f-37ce-437b-9406-5ba41061e7d6/signaling 200 11ms","method":"POST","requestID":"7bc85c00-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/ec06720f-37ce-437b-9406-5ba41061e7d6/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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:15.495060377Z"}]},"request_id":"a0323bb0-5edf-4b93-9648-dd389fa9e255","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836277.7073128} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"90741e047a955c1ebdf67be17ede1a82"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868"},"level":"info","message":"Building connection plan","requestID":"90741e047a955c1ebdf67be17ede1a82"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"011537b133ed56d57168fbf5b25c9d90","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"ebe4dfd5-c237-451a-8ab7-441cf7bd9bd7"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"77ac257c-6e58-49ef-97e0-1588720455ec"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/file","uuid":"df13084e-e448-44e9-ac40-79ab0e7250d1"}]},"level":"info","message":"Built pairwise service configurations","requestID":"90741e047a955c1ebdf67be17ede1a82"} 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/ec06720f-37ce-437b-9406-5ba41061e7d6"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"90741e047a955c1ebdf67be17ede1a82"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"7bcaa5f0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"011537b133ed56d57168fbf5b25c9d90"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":284,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:17Z"} gateway-1 | {"time_local":"28/Aug/2024:09:11:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d100549a-d024-48ea-a01f-b8e538cf7c1c? 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":"011537b133ed56d57168fbf5b25c9d90"} device-1 | {"level":"info","message":"GET /devices/d100549a-d024-48ea-a01f-b8e538cf7c1c? 200 16ms","method":"GET","requestID":"011537b133ed56d57168fbf5b25c9d90","responseTime":16,"status":200,"url":"/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c?"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":284,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.907833,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7bcaa5f0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836277,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3N30.dtGEbJnJIxxgLPCdAXLKNitp_2dxzuALkqypxCL1hjQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7bcaa5f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3N30.dtGEbJnJIxxgLPCdAXLKNitp_2dxzuALkqypxCL1hjQ","level":"info","message":"auth send jwt","requestID":"2f00f1140d00e86d316b6c29efff987e"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"2f00f1140d00e86d316b6c29efff987e","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2f00f1140d00e86d316b6c29efff987e"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":285,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":285,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.949624,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"2f00f1140d00e86d316b6c29efff987e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836277,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI3N30.dtGEbJnJIxxgLPCdAXLKNitp_2dxzuALkqypxCL1hjQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"2f00f1140d00e86d316b6c29efff987e","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"d9d3cf91-48db-4601-92cc-03db0a853284","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836277.7296572} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3f4b900b-bd53-4103-96c6-48ce2ae96631","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836277.7299485} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec06720f-37ce-437b-9406-5ba41061e7d6","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec06720f-37ce-437b-9406-5ba41061e7d6","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:15.549202740Z"}]},"request_id":"4364fb2a-db7e-4be9-a390-ea82395de02e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836277.7307959} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"7bcaa5f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2f00f1140d00e86d316b6c29efff987e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2f00f1140d00e86d316b6c29efff987e"} gateway-1 | {"time_local":"28/Aug/2024:09:11:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ec06720f-37ce-437b-9406-5ba41061e7d6? 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":"2f00f1140d00e86d316b6c29efff987e"} device-1 | {"level":"info","message":"GET /devices/ec06720f-37ce-437b-9406-5ba41061e7d6? 200 16ms","method":"GET","requestID":"2f00f1140d00e86d316b6c29efff987e","responseTime":16,"status":200,"url":"/devices/ec06720f-37ce-437b-9406-5ba41061e7d6?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"7bcaa5f0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"7bcaa5f0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/4fd6d551-6913-4878-be34-840325eb7f62'","requestID":"7bcaa5f0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/4fd6d551-6913-4878-be34-840325eb7f62'","requestID":"7bcaa5f0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"7bcaa5f0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 35ms","method":"POST","requestID":"7bcaa5f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":35,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"7bcaa5f0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/4fd6d551-6913-4878-be34-840325eb7f62","device":"ec06720f-37ce-437b-9406-5ba41061e7d6","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/579e3426-1224-44bc-b185-d03d24d03868"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"90741e047a955c1ebdf67be17ede1a82"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7bd442e0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":286,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"892b8179-24e2-48a8-a805-90f1515a8d29","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836277.7787738} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":286,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.214715,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7bd442e0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","object_type":"device","rebac_allow":false,"scope_allow":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":"7bd442e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7bd442e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/d100549a-d024-48ea-a01f-b8e538cf7c1c/signaling 200 8ms","method":"POST","requestID":"7bd442e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7bd5c980-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":287,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec06720f-37ce-437b-9406-5ba41061e7d6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9453d7a8-95a3-4f8d-9925-78a2babba6ee","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836277.7883615} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":287,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.028833,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:17Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7bd5c980-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6","object_type":"device","rebac_allow":false,"scope_allow":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":"7bd5c980-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7bd5c980-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/ec06720f-37ce-437b-9406-5ba41061e7d6/signaling 200 8ms","method":"POST","requestID":"7bd5c980-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/ec06720f-37ce-437b-9406-5ba41061e7d6/signaling"} device-1 | {"device":"ec06720f-37ce-437b-9406-5ba41061e7d6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"ec06720f-37ce-437b-9406-5ba41061e7d6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"d100549a-d024-48ea-a01f-b8e538cf7c1c","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":"4fd6d551-6913-4878-be34-840325eb7f62","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 5718020932884262179 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:jdTa\r\na=ice-pwd:LCnmMde23RHzwtRMqLUjpqaS\r\na=ice-options:trickle\r\na=fingerprint:sha-256 CC:0E:36:97:81:15:A1:7B:C0:EE:F8:BF:18:A9:03:2E:FF:D0:2D:0C:DA:C6:23:44:74:92:76:BB:B3:ED:BF:71\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"ec06720f-37ce-437b-9406-5ba41061e7d6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:2786782409 1 udp 2113937151 6fb9fe8b-9998-4fd0-b623-067a18ab3190.local 60103 typ host generation 0 ufrag jdTa network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"ec06720f-37ce-437b-9406-5ba41061e7d6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"ec06720f-37ce-437b-9406-5ba41061e7d6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:2735924113 1 udp 1677729535 141.24.211.56 60103 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag jdTa network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"ec06720f-37ce-437b-9406-5ba41061e7d6","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/4fd6d551-6913-4878-be34-840325eb7f62' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"4fd6d551-6913-4878-be34-840325eb7f62","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"d100549a-d024-48ea-a01f-b8e538cf7c1c","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":"d100549a-d024-48ea-a01f-b8e538cf7c1c","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":"d100549a-d024-48ea-a01f-b8e538cf7c1c","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":"63e37c3454f650c3305aff0b9406f698","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"ec06720f-37ce-437b-9406-5ba41061e7d6","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/ec06720f-37ce-437b-9406-5ba41061e7d6'"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"63e37c3454f650c3305aff0b9406f698","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":"connecting","url":"http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"new","url":"http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/4fd6d551-6913-4878-be34-840325eb7f62"}}},"level":"info","message":"received a callback","requestID":"63e37c3454f650c3305aff0b9406f698"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"63e37c3454f650c3305aff0b9406f698","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:19 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch","requestID":"63e37c3454f650c3305aff0b9406f698"} device-1 | {"data":{"peerconnection":"4fd6d551-6913-4878-be34-840325eb7f62","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"d100549a-d024-48ea-a01f-b8e538cf7c1c","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":"ec06720f-37ce-437b-9406-5ba41061e7d6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"d100549a-d024-48ea-a01f-b8e538cf7c1c","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":"4fd6d551-6913-4878-be34-840325eb7f62","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"ec06720f-37ce-437b-9406-5ba41061e7d6","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/4fd6d551-6913-4878-be34-840325eb7f62' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"4fd6d551-6913-4878-be34-840325eb7f62","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7f034849412962bcceb1d7cfd09cce04","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"7f034849412962bcceb1d7cfd09cce04","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/ec06720f-37ce-437b-9406-5ba41061e7d6"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/4fd6d551-6913-4878-be34-840325eb7f62"}}},"level":"info","message":"received a callback","requestID":"7f034849412962bcceb1d7cfd09cce04"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"7d1d1690-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":288,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:19Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F4fd6d551-6913-4878-be34-840325eb7f62","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"75046504-3337-434a-bbd2-7430daede687","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836279.935383} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":288,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.709088,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:19Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/4fd6d551-6913-4878-be34-840325eb7f62","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7d1d1690-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/4fd6d551-6913-4878-be34-840325eb7f62","object_type":"peerconnection","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"7d1d1690-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/4fd6d551-6913-4878-be34-840325eb7f62 200 12ms","method":"GET","requestID":"7d1d1690-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/peerconnections/4fd6d551-6913-4878-be34-840325eb7f62"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"7d1d1690-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 42ms","method":"POST","requestID":"7f034849412962bcceb1d7cfd09cce04","responseTime":42,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.045","http_referrer":"","http_user_agent":"node-fetch","requestID":"7f034849412962bcceb1d7cfd09cce04"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7d22bbe0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":289,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:19Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec06720f-37ce-437b-9406-5ba41061e7d6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"52d9e0c4-f918-4830-8a7a-865f52e7a335","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836279.9711971} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":289,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.667793,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7d22bbe0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7d22bbe0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7d22bbe0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/ec06720f-37ce-437b-9406-5ba41061e7d6/signaling 200 10ms","method":"POST","requestID":"7d22bbe0-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/ec06720f-37ce-437b-9406-5ba41061e7d6/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7d24b7b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":290,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:19Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5462bb3a-e606-472d-9d3a-a525f835953c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836279.9842367} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":290,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.831363,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:19Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7d24b7b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7d24b7b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7d24b7b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/d100549a-d024-48ea-a01f-b8e538cf7c1c/signaling 200 11ms","method":"POST","requestID":"7d24b7b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MH0.uD7Tg4dPoCLEL8VHogIBkhg-wdbngRWoHcx3KnANwGg","level":"info","message":"auth send jwt","requestID":"675ed16c0d421e1e09f1f3c4acb9599a"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"675ed16c0d421e1e09f1f3c4acb9599a","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/579e3426-1224-44bc-b185-d03d24d03868","requestID":"675ed16c0d421e1e09f1f3c4acb9599a"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":291,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":291,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.662369,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"675ed16c0d421e1e09f1f3c4acb9599a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836280,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MH0.uD7Tg4dPoCLEL8VHogIBkhg-wdbngRWoHcx3KnANwGg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"675ed16c0d421e1e09f1f3c4acb9599a","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/579e3426-1224-44bc-b185-d03d24d03868","requestID":"675ed16c0d421e1e09f1f3c4acb9599a"} gateway-1 | {"time_local":"28/Aug/2024:09:11:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/579e3426-1224-44bc-b185-d03d24d03868 HTTP/1.1","status": "200","body_bytes_sent":"854","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"675ed16c0d421e1e09f1f3c4acb9599a"} experiment-1 | {"level":"info","message":"GET /experiments/579e3426-1224-44bc-b185-d03d24d03868 200 12ms","method":"GET","requestID":"675ed16c0d421e1e09f1f3c4acb9599a","responseTime":12,"status":200,"url":"/experiments/579e3426-1224-44bc-b185-d03d24d03868"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MH0.uD7Tg4dPoCLEL8VHogIBkhg-wdbngRWoHcx3KnANwGg","level":"info","message":"auth send jwt","requestID":"9b54b3d065f8300b3b22316fc7fe6eaa"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"9b54b3d065f8300b3b22316fc7fe6eaa","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/579e3426-1224-44bc-b185-d03d24d03868","requestID":"9b54b3d065f8300b3b22316fc7fe6eaa"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":292,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":292,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.950283,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9b54b3d065f8300b3b22316fc7fe6eaa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836280,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MH0.uD7Tg4dPoCLEL8VHogIBkhg-wdbngRWoHcx3KnANwGg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9b54b3d065f8300b3b22316fc7fe6eaa","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868"},"level":"info","message":"Attempting to finish experiment","requestID":"9b54b3d065f8300b3b22316fc7fe6eaa"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"7d3f92b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":293,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":293,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.601787,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/4fd6d551-6913-4878-be34-840325eb7f62","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7d3f92b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/4fd6d551-6913-4878-be34-840325eb7f62","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836280,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MH0.uD7Tg4dPoCLEL8VHogIBkhg-wdbngRWoHcx3KnANwGg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7d3f92b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/4fd6d551-6913-4878-be34-840325eb7f62","device":"ec06720f-37ce-437b-9406-5ba41061e7d6","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"d100549a-d024-48ea-a01f-b8e538cf7c1c","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":"d100549a-d024-48ea-a01f-b8e538cf7c1c","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":"d100549a-d024-48ea-a01f-b8e538cf7c1c","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/4fd6d551-6913-4878-be34-840325eb7f62' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/4fd6d551-6913-4878-be34-840325eb7f62' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"4fd6d551-6913-4878-be34-840325eb7f62","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F4fd6d551-6913-4878-be34-840325eb7f62': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F4fd6d551-6913-4878-be34-840325eb7f62","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"ee29e395-e8a0-486d-8a03-f5e3321270d1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.1708436} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ceef6e84-8fe9-41cb-99cc-bd23f31364d6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.1717048} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"65a3248e8919ad72164c9763f5db1f2f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"65a3248e8919ad72164c9763f5db1f2f","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4ba2e2e655f4d76413936431fe58ef5f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"4ba2e2e655f4d76413936431fe58ef5f","responseTime":0,"status":200,"url":"/auth"} 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/ec06720f-37ce-437b-9406-5ba41061e7d6"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/4fd6d551-6913-4878-be34-840325eb7f62"}}},"level":"info","message":"received a callback","requestID":"65a3248e8919ad72164c9763f5db1f2f"} 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/ec06720f-37ce-437b-9406-5ba41061e7d6"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"closed","url":"http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/4fd6d551-6913-4878-be34-840325eb7f62"}}},"level":"info","message":"received a callback","requestID":"4ba2e2e655f4d76413936431fe58ef5f"} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"7d3f92b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"4fd6d551-6913-4878-be34-840325eb7f62","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"7d3f92b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/4fd6d551-6913-4878-be34-840325eb7f62 204 51ms","method":"DELETE","requestID":"7d3f92b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":51,"status":204,"url":"/peerconnections/4fd6d551-6913-4878-be34-840325eb7f62"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/579e3426-1224-44bc-b185-d03d24d03868"},"level":"info","message":"Successfully finished experiment","requestID":"9b54b3d065f8300b3b22316fc7fe6eaa"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7d4a8f30-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":294,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fec06720f-37ce-437b-9406-5ba41061e7d6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2bae20bc-c220-4354-9c3b-33a0565b214c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.2315698} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":294,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.240115,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7d4a8f30-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ec06720f-37ce-437b-9406-5ba41061e7d6","object_type":"device","rebac_allow":false,"scope_allow":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":"7d4a8f30-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7d4a8f30-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/ec06720f-37ce-437b-9406-5ba41061e7d6/signaling 200 9ms","method":"POST","requestID":"7d4a8f30-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/ec06720f-37ce-437b-9406-5ba41061e7d6/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7d4c3ce0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F579e3426-1224-44bc-b185-d03d24d03868': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F579e3426-1224-44bc-b185-d03d24d03868","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"6f1a87d1-0a10-4863-84ee-2b86d7647075","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.2384481} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"60815645-34c2-46b2-bcdd-85ed2f61d048","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.2387004} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"9b54b3d065f8300b3b22316fc7fe6eaa","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":295,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd100549a-d024-48ea-a01f-b8e538cf7c1c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d2ad2e41-0013-40bd-a355-2201589e8757","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.2431326} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":295,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.193003,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7d4c3ce0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7d4c3ce0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7d4c3ce0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/d100549a-d024-48ea-a01f-b8e538cf7c1c/signaling 200 9ms","method":"POST","requestID":"7d4c3ce0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/d100549a-d024-48ea-a01f-b8e538cf7c1c/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/579e3426-1224-44bc-b185-d03d24d03868","requestID":"9b54b3d065f8300b3b22316fc7fe6eaa"} gateway-1 | {"time_local":"28/Aug/2024:09:11:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/579e3426-1224-44bc-b185-d03d24d03868 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.155","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9b54b3d065f8300b3b22316fc7fe6eaa"} gateway-1 | {"time_local":"28/Aug/2024:09:11:20 +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.158","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"85da25173ee037d9cb0d3dc314a85101"} experiment-1 | {"level":"info","message":"DELETE /experiments/579e3426-1224-44bc-b185-d03d24d03868 204 153ms","method":"DELETE","requestID":"9b54b3d065f8300b3b22316fc7fe6eaa","responseTime":153,"status":204,"url":"/experiments/579e3426-1224-44bc-b185-d03d24d03868"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MH0.uD7Tg4dPoCLEL8VHogIBkhg-wdbngRWoHcx3KnANwGg","level":"info","message":"auth send jwt","requestID":"e306a58c1e981ce6633893afc3c7eb2c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e306a58c1e981ce6633893afc3c7eb2c","responseTime":4,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.130","http_referrer":"","http_user_agent":"node-fetch","requestID":"65a3248e8919ad72164c9763f5db1f2f"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.131","http_referrer":"","http_user_agent":"node-fetch","requestID":"4ba2e2e655f4d76413936431fe58ef5f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 126ms","method":"POST","requestID":"65a3248e8919ad72164c9763f5db1f2f","responseTime":126,"status":200,"url":"/callbacks/experiment"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 126ms","method":"POST","requestID":"4ba2e2e655f4d76413936431fe58ef5f","responseTime":126,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:20 +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.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":"6b1ddb41c78a5668ee98602c3915d192"} device-1 | {"level":"info","message":"postDevices called","requestID":"e306a58c1e981ce6633893afc3c7eb2c"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":296,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":296,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.89308,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"e306a58c1e981ce6633893afc3c7eb2c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836280,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MH0.uD7Tg4dPoCLEL8VHogIBkhg-wdbngRWoHcx3KnANwGg"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e306a58c1e981ce6633893afc3c7eb2c","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/d100549a-d024-48ea-a01f-b8e538cf7c1c' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"852e10ab-1076-48e9-9faa-b87abe6ce279","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.330313} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e306a58c1e981ce6633893afc3c7eb2c","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/ec06720f-37ce-437b-9406-5ba41061e7d6' 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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"67b2aa09-6348-4553-b558-c277f659a1af","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.336546} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"e306a58c1e981ce6633893afc3c7eb2c","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"a8e105d3-b0b9-47f8-912f-57178ca54874","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.3524137} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4e11feb8-ccff-47c3-b8f5-a171b3146ce9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.3527007} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"e306a58c1e981ce6633893afc3c7eb2c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:20.352387724Z"}]},"request_id":"af58ce21-785a-43ef-b009-7e16c8f79f7b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.357001} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e306a58c1e981ce6633893afc3c7eb2c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e306a58c1e981ce6633893afc3c7eb2c"} device-1 | {"level":"info","message":"POST /devices? 201 53ms","method":"POST","requestID":"e306a58c1e981ce6633893afc3c7eb2c","responseTime":53,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"28/Aug/2024:09:11:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.060","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e306a58c1e981ce6633893afc3c7eb2c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MH0.uD7Tg4dPoCLEL8VHogIBkhg-wdbngRWoHcx3KnANwGg","level":"info","message":"auth send jwt","requestID":"54cb30b34f23efe11fdee1d4b4ce0855"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"54cb30b34f23efe11fdee1d4b4ce0855","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"54cb30b34f23efe11fdee1d4b4ce0855"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":297,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":297,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.460768,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"54cb30b34f23efe11fdee1d4b4ce0855","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836280,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MH0.uD7Tg4dPoCLEL8VHogIBkhg-wdbngRWoHcx3KnANwGg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"54cb30b34f23efe11fdee1d4b4ce0855","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"79d3c2e4-30a9-48ed-9964-66ecfa91845d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.383192} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"54cb30b34f23efe11fdee1d4b4ce0855","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"24e20a74-377d-41f4-97ce-8789b3fef72b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.3882325} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"54cb30b34f23efe11fdee1d4b4ce0855","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"2c57b61b-310b-4171-a8c1-8b7797c95fbc","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.3996682} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"65670048-9f0c-431f-b19e-8415f85266f3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.3998008} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"54cb30b34f23efe11fdee1d4b4ce0855","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:20.399646822Z"}]},"request_id":"95ea277c-ff13-4951-bfa1-b0ed1f1f65b0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.4051092} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"54cb30b34f23efe11fdee1d4b4ce0855","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"54cb30b34f23efe11fdee1d4b4ce0855"} gateway-1 | {"time_local":"28/Aug/2024:09:11:20 +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":"54cb30b34f23efe11fdee1d4b4ce0855"} device-1 | {"level":"info","message":"POST /devices? 201 42ms","method":"POST","requestID":"54cb30b34f23efe11fdee1d4b4ce0855","responseTime":42,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MH0.uD7Tg4dPoCLEL8VHogIBkhg-wdbngRWoHcx3KnANwGg","level":"info","message":"auth send jwt","requestID":"c59791207854de62850bad75854c7853"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c59791207854de62850bad75854c7853","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"c59791207854de62850bad75854c7853"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":298,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":298,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.956422,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"c59791207854de62850bad75854c7853","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836280,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MH0.uD7Tg4dPoCLEL8VHogIBkhg-wdbngRWoHcx3KnANwGg"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c59791207854de62850bad75854c7853","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:20.352387724Z"}]},"request_id":"0aec6055-19dd-40db-a642-bf20779c9bf1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.931144} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c59791207854de62850bad75854c7853","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"aa2c3f00-4659-45af-b7f8-4f2f14eb952d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.9360864} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"c59791207854de62850bad75854c7853","responseTime":3,"status":200,"url":"/relations/update"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MH0.uD7Tg4dPoCLEL8VHogIBkhg-wdbngRWoHcx3KnANwGg","level":"info","message":"auth send jwt","requestID":"57fb9b2b4f09ebd72389c1e06ac989d8"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"57fb9b2b4f09ebd72389c1e06ac989d8","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"57fb9b2b4f09ebd72389c1e06ac989d8"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":299,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":299,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.668121,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"57fb9b2b4f09ebd72389c1e06ac989d8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836280,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MH0.uD7Tg4dPoCLEL8VHogIBkhg-wdbngRWoHcx3KnANwGg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"57fb9b2b4f09ebd72389c1e06ac989d8","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:20.352387724Z"}]},"request_id":"522f8846-97c8-4436-b8e7-ca68ea19f604","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.952033} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:20.399646822Z"}]},"request_id":"6e5a592a-5fed-4a92-9967-49bb2385227f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.9562948} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"c59791207854de62850bad75854c7853"} authorization-1 | {"level":"info","message":"POST /relations/query 200 10ms","method":"POST","requestID":"c59791207854de62850bad75854c7853","responseTime":10,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 8ms","method":"POST","requestID":"57fb9b2b4f09ebd72389c1e06ac989d8","responseTime":8,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"PATCH /devices/018d3958-2563-4e62-adcf-45906ac92394 200 42ms","method":"PATCH","requestID":"c59791207854de62850bad75854c7853","responseTime":42,"status":200,"url":"/devices/018d3958-2563-4e62-adcf-45906ac92394"} gateway-1 | {"time_local":"28/Aug/2024:09:11:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/018d3958-2563-4e62-adcf-45906ac92394 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.047","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"c59791207854de62850bad75854c7853"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MH0.uD7Tg4dPoCLEL8VHogIBkhg-wdbngRWoHcx3KnANwGg","level":"info","message":"auth send jwt","requestID":"6a22b3a42ad20470ff9eb9c1741c42f2"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6a22b3a42ad20470ff9eb9c1741c42f2","responseTime":4,"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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"dfca2e93-089c-4f1d-bfc8-e4de338e86d8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.9720507} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"6a22b3a42ad20470ff9eb9c1741c42f2"} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"57fb9b2b4f09ebd72389c1e06ac989d8","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":300,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":300,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.855071,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6a22b3a42ad20470ff9eb9c1741c42f2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836280,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MH0.uD7Tg4dPoCLEL8VHogIBkhg-wdbngRWoHcx3KnANwGg"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"6a22b3a42ad20470ff9eb9c1741c42f2","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:20.399646822Z"}]},"request_id":"798ca3cb-6621-4730-ab15-988fc1d12f83","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836280.984619} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"57fb9b2b4f09ebd72389c1e06ac989d8","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"57fb9b2b4f09ebd72389c1e06ac989d8"} gateway-1 | {"time_local":"28/Aug/2024:09:11:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/78ea63f6-e68e-43c1-949d-19282b36bf79 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.053","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"57fb9b2b4f09ebd72389c1e06ac989d8"} device-1 | {"level":"info","message":"PATCH /devices/78ea63f6-e68e-43c1-949d-19282b36bf79 200 49ms","method":"PATCH","requestID":"57fb9b2b4f09ebd72389c1e06ac989d8","responseTime":49,"status":200,"url":"/devices/78ea63f6-e68e-43c1-949d-19282b36bf79"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MH0.uD7Tg4dPoCLEL8VHogIBkhg-wdbngRWoHcx3KnANwGg","level":"info","message":"auth send jwt","requestID":"c3aaa33e865133c7fd58d3f1b7b1a49b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c3aaa33e865133c7fd58d3f1b7b1a49b","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"c3aaa33e865133c7fd58d3f1b7b1a49b"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":301,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":301,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.67592,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:20Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"c3aaa33e865133c7fd58d3f1b7b1a49b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836280,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MH0.uD7Tg4dPoCLEL8VHogIBkhg-wdbngRWoHcx3KnANwGg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c3aaa33e865133c7fd58d3f1b7b1a49b","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"6a22b3a42ad20470ff9eb9c1741c42f2"} device-1 | {"level":"info","message":"POST /devices/018d3958-2563-4e62-adcf-45906ac92394/websocket 200 32ms","method":"POST","requestID":"6a22b3a42ad20470ff9eb9c1741c42f2","responseTime":32,"status":200,"url":"/devices/018d3958-2563-4e62-adcf-45906ac92394/websocket"} gateway-1 | {"time_local":"28/Aug/2024:09:11:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/018d3958-2563-4e62-adcf-45906ac92394/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.039","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"6a22b3a42ad20470ff9eb9c1741c42f2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"c3aaa33e865133c7fd58d3f1b7b1a49b"} gateway-1 | {"time_local":"28/Aug/2024:09:11:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/78ea63f6-e68e-43c1-949d-19282b36bf79/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":"c3aaa33e865133c7fd58d3f1b7b1a49b"} device-1 | {"level":"info","message":"POST /devices/78ea63f6-e68e-43c1-949d-19282b36bf79/websocket 200 23ms","method":"POST","requestID":"c3aaa33e865133c7fd58d3f1b7b1a49b","responseTime":23,"status":200,"url":"/devices/78ea63f6-e68e-43c1-949d-19282b36bf79/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MX0.ed1NbwbTgt8qxc2TNi_yjUa_5rDbCWSaG_nuKXDHhmE","level":"info","message":"auth send jwt","requestID":"a0d869937b6e750664d3a808405b8ac3"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"a0d869937b6e750664d3a808405b8ac3","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a0d869937b6e750664d3a808405b8ac3"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":302,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":302,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.970425,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a0d869937b6e750664d3a808405b8ac3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836281,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MX0.ed1NbwbTgt8qxc2TNi_yjUa_5rDbCWSaG_nuKXDHhmE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a0d869937b6e750664d3a808405b8ac3","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:20.352387724Z"}]},"request_id":"66dbdfcd-5165-4b67-9d33-9b991cb09143","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836281.0577497} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a0d869937b6e750664d3a808405b8ac3","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a0d869937b6e750664d3a808405b8ac3"} device-1 | {"level":"info","message":"GET /devices/018d3958-2563-4e62-adcf-45906ac92394? 200 12ms","method":"GET","requestID":"a0d869937b6e750664d3a808405b8ac3","responseTime":12,"status":200,"url":"/devices/018d3958-2563-4e62-adcf-45906ac92394?"} gateway-1 | {"time_local":"28/Aug/2024:09:11:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/018d3958-2563-4e62-adcf-45906ac92394? 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":"a0d869937b6e750664d3a808405b8ac3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MX0.ed1NbwbTgt8qxc2TNi_yjUa_5rDbCWSaG_nuKXDHhmE","level":"info","message":"auth send jwt","requestID":"b2966899d8799c31b4d5654f09797488"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b2966899d8799c31b4d5654f09797488","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b2966899d8799c31b4d5654f09797488"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":303,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":303,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.950151,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b2966899d8799c31b4d5654f09797488","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836281,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MX0.ed1NbwbTgt8qxc2TNi_yjUa_5rDbCWSaG_nuKXDHhmE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b2966899d8799c31b4d5654f09797488","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:20.399646822Z"}]},"request_id":"6a13f9f0-1f37-4e6f-8d5a-ccd538eeb566","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836281.0740745} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b2966899d8799c31b4d5654f09797488","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b2966899d8799c31b4d5654f09797488"} gateway-1 | {"time_local":"28/Aug/2024:09:11:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/78ea63f6-e68e-43c1-949d-19282b36bf79? 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":"b2966899d8799c31b4d5654f09797488"} device-1 | {"level":"info","message":"GET /devices/78ea63f6-e68e-43c1-949d-19282b36bf79? 200 11ms","method":"GET","requestID":"b2966899d8799c31b4d5654f09797488","responseTime":11,"status":200,"url":"/devices/78ea63f6-e68e-43c1-949d-19282b36bf79?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MX0.ed1NbwbTgt8qxc2TNi_yjUa_5rDbCWSaG_nuKXDHhmE","level":"info","message":"auth send jwt","requestID":"64a41ce923f2d63958110a13280428bf"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"64a41ce923f2d63958110a13280428bf","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"64a41ce923f2d63958110a13280428bf"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":304,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":304,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.698467,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"64a41ce923f2d63958110a13280428bf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836281,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MX0.ed1NbwbTgt8qxc2TNi_yjUa_5rDbCWSaG_nuKXDHhmE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"64a41ce923f2d63958110a13280428bf","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18"},"level":"info","message":"Attempting to run experiment","requestID":"64a41ce923f2d63958110a13280428bf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18"},"level":"info","message":"Attempting to book experiment","requestID":"64a41ce923f2d63958110a13280428bf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18"},"level":"info","message":"Successfully booked experiment","requestID":"64a41ce923f2d63958110a13280428bf"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7dd36e40-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7dd39550-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":305,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":305,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.658209,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":306,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7dd36e40-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836281,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MX0.ed1NbwbTgt8qxc2TNi_yjUa_5rDbCWSaG_nuKXDHhmE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7dd36e40-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":306,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.774609,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7dd39550-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836281,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MX0.ed1NbwbTgt8qxc2TNi_yjUa_5rDbCWSaG_nuKXDHhmE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7dd39550-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:20.352387724Z"}]},"request_id":"1779a3d2-833f-4b7b-bf09-37f5e9810d7c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836281.1327722} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7dd36e40-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:20.399646822Z"}]},"request_id":"fa4be926-fd04-4fb6-8083-229172e8f828","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836281.1337662} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7dd39550-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7dd36e40-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/018d3958-2563-4e62-adcf-45906ac92394? 200 14ms","method":"GET","requestID":"7dd36e40-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/devices/018d3958-2563-4e62-adcf-45906ac92394?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7dd39550-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/78ea63f6-e68e-43c1-949d-19282b36bf79? 200 14ms","method":"GET","requestID":"7dd39550-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/devices/78ea63f6-e68e-43c1-949d-19282b36bf79?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18"},"level":"info","message":"Setting up experiment","requestID":"64a41ce923f2d63958110a13280428bf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"64a41ce923f2d63958110a13280428bf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18"},"level":"info","message":"Successfully locked booking for experiment","requestID":"64a41ce923f2d63958110a13280428bf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"64a41ce923f2d63958110a13280428bf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"64a41ce923f2d63958110a13280428bf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18"},"level":"info","message":"Attempting to update booking for experiment","requestID":"64a41ce923f2d63958110a13280428bf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18"},"level":"info","message":"Successfully updated booking for experiment","requestID":"64a41ce923f2d63958110a13280428bf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18"},"level":"info","message":"Successfully set up experiment","requestID":"64a41ce923f2d63958110a13280428bf"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7ddedff0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7ddf0700-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7ddf5520-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":307,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":307,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.920689,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":308,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7ddedff0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836281,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MX0.ed1NbwbTgt8qxc2TNi_yjUa_5rDbCWSaG_nuKXDHhmE"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7ddedff0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":308,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.9472,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":309,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7ddf0700-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836281,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MX0.ed1NbwbTgt8qxc2TNi_yjUa_5rDbCWSaG_nuKXDHhmE"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"7ddf0700-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18"},"level":"info","message":"Successfully running experiment","requestID":"64a41ce923f2d63958110a13280428bf"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"166af307-bf1a-4680-83c3-67f413854ccf","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836281.2098212} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":309,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.51284,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7ddf5520-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7ddf5520-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:20.352387724Z"}]},"request_id":"4021c2f5-2769-4857-b34d-71f212b45d72","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836281.2118096} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"7ddedff0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:20.399646822Z"}]},"request_id":"93d5d19c-721c-47bf-90f8-c1954c29e9ec","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836281.214438} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7ddf0700-651d-11ef-83ce-bd5a3df00b5c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7ddf5520-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/018d3958-2563-4e62-adcf-45906ac92394/signaling 200 15ms","method":"POST","requestID":"7ddf5520-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/devices/018d3958-2563-4e62-adcf-45906ac92394/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7ddedff0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/018d3958-2563-4e62-adcf-45906ac92394? 200 22ms","method":"GET","requestID":"7ddedff0-651d-11ef-83ce-bd5a3df00b5c","responseTime":22,"status":200,"url":"/devices/018d3958-2563-4e62-adcf-45906ac92394?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7de26260-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7ddf0700-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/78ea63f6-e68e-43c1-949d-19282b36bf79? 200 25ms","method":"GET","requestID":"7ddf0700-651d-11ef-83ce-bd5a3df00b5c","responseTime":25,"status":200,"url":"/devices/78ea63f6-e68e-43c1-949d-19282b36bf79?"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":310,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:21Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7de373d0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2846ad4b-043b-43b0-b827-552de6426db7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836281.2282224} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":310,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.823298,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7de26260-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","object_type":"device","rebac_allow":false,"scope_allow":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":"7de26260-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe135db31-02b2-4110-bc65-84e36d400c18#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe135db31-02b2-4110-bc65-84e36d400c18","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"e5081537-804f-41ff-b0ef-862d463a7a58","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836281.2300673} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"73029223-8d00-49e7-ae92-489fe9bc531e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836281.23041} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7de26260-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/78ea63f6-e68e-43c1-949d-19282b36bf79/signaling 200 13ms","method":"POST","requestID":"7de26260-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/78ea63f6-e68e-43c1-949d-19282b36bf79/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"64a41ce923f2d63958110a13280428bf","responseTime":20,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":311,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"88bac5e6-3ffd-4406-b6f4-906c1f20beba","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836281.2370746} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":311,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.393668,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7de373d0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7de373d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7de373d0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/018d3958-2563-4e62-adcf-45906ac92394/signaling 200 14ms","method":"POST","requestID":"7de373d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/devices/018d3958-2563-4e62-adcf-45906ac92394/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7de65a00-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"64a41ce923f2d63958110a13280428bf"} gateway-1 | {"time_local":"28/Aug/2024:09:11:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"785","request_time":"0.171","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"64a41ce923f2d63958110a13280428bf"} experiment-1 | {"level":"info","message":"POST /experiments? 201 166ms","method":"POST","requestID":"64a41ce923f2d63958110a13280428bf","responseTime":166,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":312,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3177353c-d49f-4559-8058-0d110bab9a0e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836281.252767} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":312,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.441426,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7de65a00-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7de65a00-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MX0.ed1NbwbTgt8qxc2TNi_yjUa_5rDbCWSaG_nuKXDHhmE","level":"info","message":"auth send jwt","requestID":"d79487840f3fc62dda777eb5f0c24ccb"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d79487840f3fc62dda777eb5f0c24ccb","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d79487840f3fc62dda777eb5f0c24ccb"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7de65a00-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/78ea63f6-e68e-43c1-949d-19282b36bf79/signaling 200 12ms","method":"POST","requestID":"7de65a00-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/78ea63f6-e68e-43c1-949d-19282b36bf79/signaling"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":313,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":313,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.902627,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:21Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"64a41ce923f2d63958110a13280428bf"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18"},"level":"info","message":"Building connection plan","requestID":"64a41ce923f2d63958110a13280428bf"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{},"role":"device1","serviceId":"file_producer","uuid":"ec5d5c74-081c-4ec0-82a1-9a940dae6156"},{"config":{},"role":"device2","serviceId":"file_consumer","uuid":"cc623f23-c783-48b6-ab09-aefb12dc6bf6"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/file","uuid":"c4da1573-71bc-4856-8030-4c5ea192d062"}]},"level":"info","message":"Built pairwise service configurations","requestID":"64a41ce923f2d63958110a13280428bf"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"d79487840f3fc62dda777eb5f0c24ccb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836281,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MX0.ed1NbwbTgt8qxc2TNi_yjUa_5rDbCWSaG_nuKXDHhmE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d79487840f3fc62dda777eb5f0c24ccb","responseTime":4,"status":200,"url":"/authorize"} 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/78ea63f6-e68e-43c1-949d-19282b36bf79"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"url":"http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"64a41ce923f2d63958110a13280428bf"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"7de8cb00-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:20.352387724Z"}]},"request_id":"ff9a19c3-dad2-40b5-9ed4-86a530da1fd9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836281.2658868} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d79487840f3fc62dda777eb5f0c24ccb","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":314,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":314,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.774481,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:21Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d79487840f3fc62dda777eb5f0c24ccb"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7de8cb00-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836281,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MX0.ed1NbwbTgt8qxc2TNi_yjUa_5rDbCWSaG_nuKXDHhmE"} gateway-1 | {"time_local":"28/Aug/2024:09:11:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/018d3958-2563-4e62-adcf-45906ac92394? 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":"d79487840f3fc62dda777eb5f0c24ccb"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7de8cb00-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"GET /devices/018d3958-2563-4e62-adcf-45906ac92394? 200 13ms","method":"GET","requestID":"d79487840f3fc62dda777eb5f0c24ccb","responseTime":13,"status":200,"url":"/devices/018d3958-2563-4e62-adcf-45906ac92394?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MX0.ed1NbwbTgt8qxc2TNi_yjUa_5rDbCWSaG_nuKXDHhmE","level":"info","message":"auth send jwt","requestID":"46fb2f54dc5ae359a5c524e5d6c8bea2"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"46fb2f54dc5ae359a5c524e5d6c8bea2","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"46fb2f54dc5ae359a5c524e5d6c8bea2"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"3e3c14b0-7bbc-4298-9f8c-9fafe5a3ea0e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836281.2790902} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4d4f391a-099b-437b-877f-8c219517329b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836281.279215} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":315,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":315,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.875865,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"7de8cb00-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"46fb2f54dc5ae359a5c524e5d6c8bea2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836281,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4MX0.ed1NbwbTgt8qxc2TNi_yjUa_5rDbCWSaG_nuKXDHhmE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"46fb2f54dc5ae359a5c524e5d6c8bea2","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:20.399646822Z"}]},"request_id":"b45b667c-650a-4f48-aa70-37b49fb4e2dd","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836281.287482} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"46fb2f54dc5ae359a5c524e5d6c8bea2","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"7de8cb00-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"7de8cb00-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/7ce2feb7-82e7-47b9-9553-f5c426e77f6a'","requestID":"7de8cb00-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/7ce2feb7-82e7-47b9-9553-f5c426e77f6a'","requestID":"7de8cb00-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"7de8cb00-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 34ms","method":"POST","requestID":"7de8cb00-651d-11ef-83ce-bd5a3df00b5c","responseTime":34,"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":"46fb2f54dc5ae359a5c524e5d6c8bea2"} gateway-1 | {"time_local":"28/Aug/2024:09:11:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/78ea63f6-e68e-43c1-949d-19282b36bf79? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.027","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"46fb2f54dc5ae359a5c524e5d6c8bea2"} device-1 | {"level":"info","message":"GET /devices/78ea63f6-e68e-43c1-949d-19282b36bf79? 200 22ms","method":"GET","requestID":"46fb2f54dc5ae359a5c524e5d6c8bea2","responseTime":22,"status":200,"url":"/devices/78ea63f6-e68e-43c1-949d-19282b36bf79?"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"7de8cb00-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"64a41ce923f2d63958110a13280428bf"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7df2b610-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":316,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"956379be-231a-4990-95ef-a5f827dbd5a8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836281.333652} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":316,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.102394,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7df2b610-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","object_type":"device","rebac_allow":false,"scope_allow":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":"7df2b610-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7df2b610-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/018d3958-2563-4e62-adcf-45906ac92394/signaling 200 8ms","method":"POST","requestID":"7df2b610-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/018d3958-2563-4e62-adcf-45906ac92394/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7df43cb0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":317,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d34a5378-0fe3-4c29-8d7b-3059611535d3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836281.3438635} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":317,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.196399,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7df43cb0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7df43cb0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7df43cb0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/78ea63f6-e68e-43c1-949d-19282b36bf79/signaling 200 9ms","method":"POST","requestID":"7df43cb0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/78ea63f6-e68e-43c1-949d-19282b36bf79/signaling"} device-1 | {"device":"018d3958-2563-4e62-adcf-45906ac92394","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":"7ce2feb7-82e7-47b9-9553-f5c426e77f6a","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"78ea63f6-e68e-43c1-949d-19282b36bf79","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":"7ce2feb7-82e7-47b9-9553-f5c426e77f6a","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"78ea63f6-e68e-43c1-949d-19282b36bf79","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":"78ea63f6-e68e-43c1-949d-19282b36bf79","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":"78ea63f6-e68e-43c1-949d-19282b36bf79","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":"78ea63f6-e68e-43c1-949d-19282b36bf79","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/7ce2feb7-82e7-47b9-9553-f5c426e77f6a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"7ce2feb7-82e7-47b9-9553-f5c426e77f6a","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0e6ddd9c1461e981fc394aa919d291ac","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"0e6ddd9c1461e981fc394aa919d291ac","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":"connecting","url":"http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"new","url":"http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/7ce2feb7-82e7-47b9-9553-f5c426e77f6a"}}},"level":"info","message":"received a callback","requestID":"0e6ddd9c1461e981fc394aa919d291ac"} device-1 | {"device":"018d3958-2563-4e62-adcf-45906ac92394","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":"018d3958-2563-4e62-adcf-45906ac92394","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":"018d3958-2563-4e62-adcf-45906ac92394","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 12ms","method":"POST","requestID":"0e6ddd9c1461e981fc394aa919d291ac","responseTime":12,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch","requestID":"0e6ddd9c1461e981fc394aa919d291ac"} device-1 | {"device":"78ea63f6-e68e-43c1-949d-19282b36bf79","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 | {"data":{"peerconnection":"7ce2feb7-82e7-47b9-9553-f5c426e77f6a","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"018d3958-2563-4e62-adcf-45906ac92394","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":"78ea63f6-e68e-43c1-949d-19282b36bf79","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":"018d3958-2563-4e62-adcf-45906ac92394","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":"7ce2feb7-82e7-47b9-9553-f5c426e77f6a","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/7ce2feb7-82e7-47b9-9553-f5c426e77f6a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"7ce2feb7-82e7-47b9-9553-f5c426e77f6a","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0ab86579b8b037ca3a470693e5e2d431","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"0ab86579b8b037ca3a470693e5e2d431","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/78ea63f6-e68e-43c1-949d-19282b36bf79"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/7ce2feb7-82e7-47b9-9553-f5c426e77f6a"}}},"level":"info","message":"received a callback","requestID":"0ab86579b8b037ca3a470693e5e2d431"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"7f31ecd0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":318,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:23Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F7ce2feb7-82e7-47b9-9553-f5c426e77f6a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"561e9644-75a5-4a47-b8b2-9b36ffbcd272","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836283.427687} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":318,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":3.309913,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:23Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/7ce2feb7-82e7-47b9-9553-f5c426e77f6a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7f31ecd0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/7ce2feb7-82e7-47b9-9553-f5c426e77f6a","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":"7f31ecd0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"7f31ecd0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/7ce2feb7-82e7-47b9-9553-f5c426e77f6a 200 11ms","method":"GET","requestID":"7f31ecd0-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/peerconnections/7ce2feb7-82e7-47b9-9553-f5c426e77f6a"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 39ms","method":"POST","requestID":"0ab86579b8b037ca3a470693e5e2d431","responseTime":39,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.043","http_referrer":"","http_user_agent":"node-fetch","requestID":"0ab86579b8b037ca3a470693e5e2d431"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7f3680b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":319,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:23Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0fc96c4a-d43a-4712-829a-5e1065bde1bb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836283.4551632} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":319,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.330851,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:23Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7f3680b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7f3680b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7f3680b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/78ea63f6-e68e-43c1-949d-19282b36bf79/signaling 200 9ms","method":"POST","requestID":"7f3680b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/78ea63f6-e68e-43c1-949d-19282b36bf79/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7f382e60-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":320,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:23Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b1e4e3aa-315f-4da6-baf8-52f772f83a08","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836283.4672596} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":320,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.426139,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:23Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7f382e60-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7f382e60-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7f382e60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/018d3958-2563-4e62-adcf-45906ac92394/signaling 200 10ms","method":"POST","requestID":"7f382e60-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/018d3958-2563-4e62-adcf-45906ac92394/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4M30.LFcMSQdY88jWNbKRcP7U86GFzi3_vJ6p0bpZPwhc3mQ","level":"info","message":"auth send jwt","requestID":"e7642686391072638ca75fc3aa9814d4"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"e7642686391072638ca75fc3aa9814d4","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/e135db31-02b2-4110-bc65-84e36d400c18","requestID":"e7642686391072638ca75fc3aa9814d4"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":321,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:23Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":321,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.155507,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:23Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"e7642686391072638ca75fc3aa9814d4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836283,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4M30.LFcMSQdY88jWNbKRcP7U86GFzi3_vJ6p0bpZPwhc3mQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"e7642686391072638ca75fc3aa9814d4","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/e135db31-02b2-4110-bc65-84e36d400c18","requestID":"e7642686391072638ca75fc3aa9814d4"} experiment-1 | {"level":"info","message":"GET /experiments/e135db31-02b2-4110-bc65-84e36d400c18 200 21ms","method":"GET","requestID":"e7642686391072638ca75fc3aa9814d4","responseTime":21,"status":200,"url":"/experiments/e135db31-02b2-4110-bc65-84e36d400c18"} gateway-1 | {"time_local":"28/Aug/2024:09:11:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/e135db31-02b2-4110-bc65-84e36d400c18 HTTP/1.1","status": "200","body_bytes_sent":"858","request_time":"0.027","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e7642686391072638ca75fc3aa9814d4"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4M30.LFcMSQdY88jWNbKRcP7U86GFzi3_vJ6p0bpZPwhc3mQ","level":"info","message":"auth send jwt","requestID":"09eee9bb6f01354634ff2af5e2af889b"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"09eee9bb6f01354634ff2af5e2af889b","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/e135db31-02b2-4110-bc65-84e36d400c18","requestID":"09eee9bb6f01354634ff2af5e2af889b"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":322,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:23Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":322,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.32595,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:23Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"09eee9bb6f01354634ff2af5e2af889b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836283,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4M30.LFcMSQdY88jWNbKRcP7U86GFzi3_vJ6p0bpZPwhc3mQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"09eee9bb6f01354634ff2af5e2af889b","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18"},"level":"info","message":"Attempting to finish experiment","requestID":"09eee9bb6f01354634ff2af5e2af889b"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"7f55ef90-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":323,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:23Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":323,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.962866,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:23Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/7ce2feb7-82e7-47b9-9553-f5c426e77f6a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7f55ef90-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/7ce2feb7-82e7-47b9-9553-f5c426e77f6a","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836283,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4M30.LFcMSQdY88jWNbKRcP7U86GFzi3_vJ6p0bpZPwhc3mQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"7f55ef90-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"device":"78ea63f6-e68e-43c1-949d-19282b36bf79","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":"78ea63f6-e68e-43c1-949d-19282b36bf79","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":"78ea63f6-e68e-43c1-949d-19282b36bf79","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":"018d3958-2563-4e62-adcf-45906ac92394","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":"018d3958-2563-4e62-adcf-45906ac92394","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":"018d3958-2563-4e62-adcf-45906ac92394","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/7ce2feb7-82e7-47b9-9553-f5c426e77f6a' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/7ce2feb7-82e7-47b9-9553-f5c426e77f6a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"7ce2feb7-82e7-47b9-9553-f5c426e77f6a","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ab5c1ad74e4129fd9c50f5c742af79b9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ab5c1ad74e4129fd9c50f5c742af79b9","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F7ce2feb7-82e7-47b9-9553-f5c426e77f6a': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F7ce2feb7-82e7-47b9-9553-f5c426e77f6a","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"f47e07cd-8837-4785-ab7e-15f1a4badc65","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836283.6846085} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"24e5b847-2570-4460-ae9f-f4ea9f04a3e4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836283.6847923} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4097233ecc07b7c8293658a7964890fc","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"4097233ecc07b7c8293658a7964890fc","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"7f55ef90-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/relations/update"} 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":"closed","url":"http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/7ce2feb7-82e7-47b9-9553-f5c426e77f6a"}}},"level":"info","message":"received a callback","requestID":"ab5c1ad74e4129fd9c50f5c742af79b9"} 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":"closed","url":"http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79"},{"config":{"services":[{"remoteServiceId":"file_consumer","serviceId":"file_producer","serviceType":"http://api.goldi-labs.de/serviceTypes/file"}]},"status":"connected","url":"http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/7ce2feb7-82e7-47b9-9553-f5c426e77f6a"}}},"level":"info","message":"received a callback","requestID":"4097233ecc07b7c8293658a7964890fc"} device-1 | {"data":{"peerconnection":"7ce2feb7-82e7-47b9-9553-f5c426e77f6a","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"7f55ef90-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/7ce2feb7-82e7-47b9-9553-f5c426e77f6a 204 45ms","method":"DELETE","requestID":"7f55ef90-651d-11ef-83ce-bd5a3df00b5c","responseTime":45,"status":204,"url":"/peerconnections/7ce2feb7-82e7-47b9-9553-f5c426e77f6a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/e135db31-02b2-4110-bc65-84e36d400c18"},"level":"info","message":"Successfully finished experiment","requestID":"09eee9bb6f01354634ff2af5e2af889b"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7f6001b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":324,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:23Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F78ea63f6-e68e-43c1-949d-19282b36bf79","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"99fc36a9-ae5f-4c48-8ede-824859918802","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836283.729197} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":324,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.281234,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:23Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7f6001b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/78ea63f6-e68e-43c1-949d-19282b36bf79","object_type":"device","rebac_allow":false,"scope_allow":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":"7f6001b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7f6001b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/78ea63f6-e68e-43c1-949d-19282b36bf79/signaling 200 13ms","method":"POST","requestID":"7f6001b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/78ea63f6-e68e-43c1-949d-19282b36bf79/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe135db31-02b2-4110-bc65-84e36d400c18': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fe135db31-02b2-4110-bc65-84e36d400c18","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"9cc3adf5-e2e4-4b5f-8617-0e6b1c827315","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836283.7377841} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cfb2e4ca-cd1c-495e-98bc-39c1eeceb3ef","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836283.7379348} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"7f624ba0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"09eee9bb6f01354634ff2af5e2af889b","responseTime":18,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":325,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:23Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F018d3958-2563-4e62-adcf-45906ac92394","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9196ac71-dcb3-4484-b9ef-e05c6ef701c2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836283.7435284} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":325,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.061278,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:23Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7f624ba0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/018d3958-2563-4e62-adcf-45906ac92394","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"7f624ba0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"7f624ba0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/018d3958-2563-4e62-adcf-45906ac92394/signaling 200 12ms","method":"POST","requestID":"7f624ba0-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/018d3958-2563-4e62-adcf-45906ac92394/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/e135db31-02b2-4110-bc65-84e36d400c18","requestID":"09eee9bb6f01354634ff2af5e2af889b"} gateway-1 | {"time_local":"28/Aug/2024:09:11:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/e135db31-02b2-4110-bc65-84e36d400c18 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":"09eee9bb6f01354634ff2af5e2af889b"} experiment-1 | {"level":"info","message":"DELETE /experiments/e135db31-02b2-4110-bc65-84e36d400c18 204 171ms","method":"DELETE","requestID":"09eee9bb6f01354634ff2af5e2af889b","responseTime":171,"status":204,"url":"/experiments/e135db31-02b2-4110-bc65-84e36d400c18"} gateway-1 | {"time_local":"28/Aug/2024:09:11:23 +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.806","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"7d370ee2559478fd9ed32b9889ebb467"} gateway-1 | {"time_local":"28/Aug/2024:09:11:23 +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.792","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"6015cd41ca43212c58478d12f0189f16"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 129ms","method":"POST","requestID":"ab5c1ad74e4129fd9c50f5c742af79b9","responseTime":129,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.134","http_referrer":"","http_user_agent":"node-fetch","requestID":"ab5c1ad74e4129fd9c50f5c742af79b9"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 128ms","method":"POST","requestID":"4097233ecc07b7c8293658a7964890fc","responseTime":128,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.135","http_referrer":"","http_user_agent":"node-fetch","requestID":"4097233ecc07b7c8293658a7964890fc"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4M30.LFcMSQdY88jWNbKRcP7U86GFzi3_vJ6p0bpZPwhc3mQ","level":"info","message":"auth send jwt","requestID":"77f3ecea3e9695b1477880b816337b4e"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"77f3ecea3e9695b1477880b816337b4e","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/018d3958-2563-4e62-adcf-45906ac92394' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"77f3ecea3e9695b1477880b816337b4e"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":326,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:23Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":326,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.853005,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:23Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"77f3ecea3e9695b1477880b816337b4e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836283,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4M30.LFcMSQdY88jWNbKRcP7U86GFzi3_vJ6p0bpZPwhc3mQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"77f3ecea3e9695b1477880b816337b4e","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/78ea63f6-e68e-43c1-949d-19282b36bf79' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fba721079-269c-4807-9de8-e5cd4cd48282","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"afeae62d-55fe-4df6-a567-ee7f8853ea35","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836283.8440506} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"77f3ecea3e9695b1477880b816337b4e","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c4f90dcc-5e5a-45ba-b983-74228a1bc4a5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836283.849843} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"77f3ecea3e9695b1477880b816337b4e","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fba721079-269c-4807-9de8-e5cd4cd48282","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"c5183741-2ba8-4b1d-b69c-c6a6a1467515","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836283.8592331} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e4731fb7-f42f-4179-bf51-c05b6bee5007","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836283.859467} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"77f3ecea3e9695b1477880b816337b4e","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fba721079-269c-4807-9de8-e5cd4cd48282","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fba721079-269c-4807-9de8-e5cd4cd48282","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:23.859211890Z"}]},"request_id":"76d35df0-99f2-45bc-a1a7-8f3b55a0d982","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836283.864215} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"77f3ecea3e9695b1477880b816337b4e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"77f3ecea3e9695b1477880b816337b4e"} gateway-1 | {"time_local":"28/Aug/2024:09:11:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.052","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"77f3ecea3e9695b1477880b816337b4e"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"77f3ecea3e9695b1477880b816337b4e","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4M30.LFcMSQdY88jWNbKRcP7U86GFzi3_vJ6p0bpZPwhc3mQ","level":"info","message":"auth send jwt","requestID":"5894bc760b3f2a62f92eb4db6ffc9d73"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"5894bc760b3f2a62f92eb4db6ffc9d73","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"5894bc760b3f2a62f92eb4db6ffc9d73"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":327,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:23Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":327,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.69309,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:23Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"5894bc760b3f2a62f92eb4db6ffc9d73","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836283,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4M30.LFcMSQdY88jWNbKRcP7U86GFzi3_vJ6p0bpZPwhc3mQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"5894bc760b3f2a62f92eb4db6ffc9d73","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2df34efc-fc07-4a49-91a6-4b94bc12acfa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"19df239c-3f07-42e9-8d2b-69b0582452f7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836283.894608} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5894bc760b3f2a62f92eb4db6ffc9d73","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ca760f05-0cd1-44a0-8c97-aa1703996bc9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836283.8996656} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"5894bc760b3f2a62f92eb4db6ffc9d73","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2df34efc-fc07-4a49-91a6-4b94bc12acfa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"05b69b4c-a9e4-497a-b437-246079a4d96d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836283.9111478} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6ec3f203-73f6-4749-9c2a-642c94f7a7a3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836283.9113703} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"5894bc760b3f2a62f92eb4db6ffc9d73","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2df34efc-fc07-4a49-91a6-4b94bc12acfa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2df34efc-fc07-4a49-91a6-4b94bc12acfa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:23.911121838Z"}]},"request_id":"64be6a19-6786-4932-872f-0def218726b6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836283.9165704} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5894bc760b3f2a62f92eb4db6ffc9d73","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"5894bc760b3f2a62f92eb4db6ffc9d73"} gateway-1 | {"time_local":"28/Aug/2024:09:11:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.052","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5894bc760b3f2a62f92eb4db6ffc9d73"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"5894bc760b3f2a62f92eb4db6ffc9d73","responseTime":47,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9dfdccd849efd460e358b9845b47e99d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"9dfdccd849efd460e358b9845b47e99d","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/ba721079-269c-4807-9de8-e5cd4cd48282/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":"9dfdccd849efd460e358b9845b47e99d"} device-1 | {"level":"info","message":"OPTIONS /devices/ba721079-269c-4807-9de8-e5cd4cd48282/websocket 200 1ms","method":"OPTIONS","requestID":"9dfdccd849efd460e358b9845b47e99d","responseTime":1,"status":200,"url":"/devices/ba721079-269c-4807-9de8-e5cd4cd48282/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4NX0.mXyowz6eiE4DqMeri80BfrrrG_inNELBxDW1E6NvHR8","level":"info","message":"auth send jwt","requestID":"afa09285b2c756cf39d18e4bf6205931"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"afa09285b2c756cf39d18e4bf6205931","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"afa09285b2c756cf39d18e4bf6205931"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":328,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:25Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":328,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.966297,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:25Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"afa09285b2c756cf39d18e4bf6205931","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836285,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4NX0.mXyowz6eiE4DqMeri80BfrrrG_inNELBxDW1E6NvHR8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"afa09285b2c756cf39d18e4bf6205931","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"df75b0588ea00014bba12d4b396534c9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"df75b0588ea00014bba12d4b396534c9","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa/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":"df75b0588ea00014bba12d4b396534c9"} device-1 | {"level":"info","message":"OPTIONS /devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa/websocket 200 1ms","method":"OPTIONS","requestID":"df75b0588ea00014bba12d4b396534c9","responseTime":1,"status":200,"url":"/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4NX0.mXyowz6eiE4DqMeri80BfrrrG_inNELBxDW1E6NvHR8","level":"info","message":"auth send jwt","requestID":"fe4e859ad045946c38214ccbea7c2e2a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"fe4e859ad045946c38214ccbea7c2e2a","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"fe4e859ad045946c38214ccbea7c2e2a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"afa09285b2c756cf39d18e4bf6205931"} gateway-1 | {"time_local":"28/Aug/2024:09:11:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/ba721079-269c-4807-9de8-e5cd4cd48282/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":"afa09285b2c756cf39d18e4bf6205931"} device-1 | {"level":"info","message":"POST /devices/ba721079-269c-4807-9de8-e5cd4cd48282/websocket 200 24ms","method":"POST","requestID":"afa09285b2c756cf39d18e4bf6205931","responseTime":24,"status":200,"url":"/devices/ba721079-269c-4807-9de8-e5cd4cd48282/websocket"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":329,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:25Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":329,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.997404,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:25Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"fe4e859ad045946c38214ccbea7c2e2a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836285,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4NX0.mXyowz6eiE4DqMeri80BfrrrG_inNELBxDW1E6NvHR8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fe4e859ad045946c38214ccbea7c2e2a","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"fe4e859ad045946c38214ccbea7c2e2a"} gateway-1 | {"time_local":"28/Aug/2024:09:11:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa/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":"fe4e859ad045946c38214ccbea7c2e2a"} device-1 | {"level":"info","message":"POST /devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa/websocket 200 21ms","method":"POST","requestID":"fe4e859ad045946c38214ccbea7c2e2a","responseTime":21,"status":200,"url":"/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4NX0.mXyowz6eiE4DqMeri80BfrrrG_inNELBxDW1E6NvHR8","level":"info","message":"auth send jwt","requestID":"a81986c969ac3cda1c4ca1ff75dfa126"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"a81986c969ac3cda1c4ca1ff75dfa126","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a81986c969ac3cda1c4ca1ff75dfa126"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":330,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:25Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":330,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.700065,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a81986c969ac3cda1c4ca1ff75dfa126","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836285,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4NX0.mXyowz6eiE4DqMeri80BfrrrG_inNELBxDW1E6NvHR8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a81986c969ac3cda1c4ca1ff75dfa126","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fba721079-269c-4807-9de8-e5cd4cd48282","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fba721079-269c-4807-9de8-e5cd4cd48282","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:23.859211890Z"}]},"request_id":"025e98de-ef1a-48c4-b952-e52a5b14438f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836285.9392033} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a81986c969ac3cda1c4ca1ff75dfa126","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a81986c969ac3cda1c4ca1ff75dfa126"} device-1 | {"level":"info","message":"GET /devices/ba721079-269c-4807-9de8-e5cd4cd48282? 200 18ms","method":"GET","requestID":"a81986c969ac3cda1c4ca1ff75dfa126","responseTime":18,"status":200,"url":"/devices/ba721079-269c-4807-9de8-e5cd4cd48282?"} gateway-1 | {"time_local":"28/Aug/2024:09:11:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ba721079-269c-4807-9de8-e5cd4cd48282? 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":"a81986c969ac3cda1c4ca1ff75dfa126"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4NX0.mXyowz6eiE4DqMeri80BfrrrG_inNELBxDW1E6NvHR8","level":"info","message":"auth send jwt","requestID":"2287d1c3d48c038eb0fe6a157ab30c7d"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"2287d1c3d48c038eb0fe6a157ab30c7d","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2287d1c3d48c038eb0fe6a157ab30c7d"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":331,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:25Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":331,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.307768,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"2287d1c3d48c038eb0fe6a157ab30c7d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836285,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4NX0.mXyowz6eiE4DqMeri80BfrrrG_inNELBxDW1E6NvHR8"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"2287d1c3d48c038eb0fe6a157ab30c7d","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2df34efc-fc07-4a49-91a6-4b94bc12acfa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2df34efc-fc07-4a49-91a6-4b94bc12acfa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:23.911121838Z"}]},"request_id":"fe0cb03c-c02b-4646-92ed-e42a35dfebd3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836285.966276} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"2287d1c3d48c038eb0fe6a157ab30c7d","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2287d1c3d48c038eb0fe6a157ab30c7d"} gateway-1 | {"time_local":"28/Aug/2024:09:11:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa? 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":"2287d1c3d48c038eb0fe6a157ab30c7d"} device-1 | {"level":"info","message":"GET /devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa? 200 19ms","method":"GET","requestID":"2287d1c3d48c038eb0fe6a157ab30c7d","responseTime":19,"status":200,"url":"/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4NX0.mXyowz6eiE4DqMeri80BfrrrG_inNELBxDW1E6NvHR8","level":"info","message":"auth send jwt","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"98b9c76a9d3dce6306c7ef6638d3739b","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":332,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:25Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":332,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.132024,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:25Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"98b9c76a9d3dce6306c7ef6638d3739b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836285,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4NX0.mXyowz6eiE4DqMeri80BfrrrG_inNELBxDW1E6NvHR8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"98b9c76a9d3dce6306c7ef6638d3739b","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d"},"level":"info","message":"Attempting to run experiment","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d"},"level":"info","message":"Attempting to book experiment","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d"},"level":"info","message":"Successfully booked experiment","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"80c006e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"80c05500-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":333,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":333,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.77815,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":334,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"80c006e0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836285,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4NX0.mXyowz6eiE4DqMeri80BfrrrG_inNELBxDW1E6NvHR8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"80c006e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":334,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.324305,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"80c05500-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836285,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4NX0.mXyowz6eiE4DqMeri80BfrrrG_inNELBxDW1E6NvHR8"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"80c05500-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fba721079-269c-4807-9de8-e5cd4cd48282","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fba721079-269c-4807-9de8-e5cd4cd48282","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:23.859211890Z"}]},"request_id":"ea65db9c-af77-433b-a059-72b2d8c89f47","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.041405} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"80c006e0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2df34efc-fc07-4a49-91a6-4b94bc12acfa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2df34efc-fc07-4a49-91a6-4b94bc12acfa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:23.911121838Z"}]},"request_id":"e915aab4-097d-4873-92aa-7905f33df093","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.043477} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"80c05500-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"80c006e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/ba721079-269c-4807-9de8-e5cd4cd48282? 200 19ms","method":"GET","requestID":"80c006e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":19,"status":200,"url":"/devices/ba721079-269c-4807-9de8-e5cd4cd48282?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"80c05500-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa? 200 18ms","method":"GET","requestID":"80c05500-651d-11ef-83ce-bd5a3df00b5c","responseTime":18,"status":200,"url":"/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d"},"level":"info","message":"Setting up experiment","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d"},"level":"info","message":"Successfully locked booking for experiment","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d"},"level":"info","message":"Attempting to update booking for experiment","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d"},"level":"info","message":"Successfully updated booking for experiment","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d"},"level":"info","message":"Successfully set up experiment","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"80cc62f0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"80ccb110-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"80ccff30-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Received request.","req_id":335,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":336,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"client_addr":"127.0.0.1:38202","level":"info","msg":"Sent response.","req_id":335,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.084336,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d"},"level":"info","message":"Successfully running experiment","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":336,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.604676,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"80cc62f0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836285,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4NX0.mXyowz6eiE4DqMeri80BfrrrG_inNELBxDW1E6NvHR8"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"80cc62f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"80ccb110-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836285,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4NX0.mXyowz6eiE4DqMeri80BfrrrG_inNELBxDW1E6NvHR8"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"80ccb110-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":337,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2df34efc-fc07-4a49-91a6-4b94bc12acfa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2df34efc-fc07-4a49-91a6-4b94bc12acfa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:23.911121838Z"}]},"request_id":"e8d4bbfe-9d22-43de-bf5c-35356e3357ed","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.1288245} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fba721079-269c-4807-9de8-e5cd4cd48282","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ef8f012e-e964-443f-b9b9-1c85e6aafdea","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.1290104} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"80ccb110-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":337,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.932705,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"80ccff30-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 16ms","method":"POST","requestID":"80ccff30-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fba721079-269c-4807-9de8-e5cd4cd48282","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fba721079-269c-4807-9de8-e5cd4cd48282","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:23.859211890Z"}]},"request_id":"c4cc917f-eb4d-4812-997a-3595a1c5b786","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.1307325} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"80cc62f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"80ccb110-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa? 200 27ms","method":"GET","requestID":"80ccb110-651d-11ef-83ce-bd5a3df00b5c","responseTime":27,"status":200,"url":"/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"80ccff30-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/ba721079-269c-4807-9de8-e5cd4cd48282/signaling 200 27ms","method":"POST","requestID":"80ccff30-651d-11ef-83ce-bd5a3df00b5c","responseTime":27,"status":200,"url":"/devices/ba721079-269c-4807-9de8-e5cd4cd48282/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc4d02e19-7fcc-4b4a-9704-6bbbf7ba905d#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc4d02e19-7fcc-4b4a-9704-6bbbf7ba905d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"76497ee2-9d23-4398-aef2-3d92a8476a66","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.1428099} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"80cc62f0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5780c0f8-7e5f-47a9-b319-664c281dd5e6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.1431065} device-1 | {"level":"info","message":"GET /devices/ba721079-269c-4807-9de8-e5cd4cd48282? 200 33ms","method":"GET","requestID":"80cc62f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":33,"status":200,"url":"/devices/ba721079-269c-4807-9de8-e5cd4cd48282?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"98b9c76a9d3dce6306c7ef6638d3739b","responseTime":21,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"80d19310-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"80d1e130-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":338,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":339,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2df34efc-fc07-4a49-91a6-4b94bc12acfa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b3d9c7ef-d929-4453-b14c-73a66a95351e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.1512082} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":338,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.417259,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"80d19310-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa","object_type":"device","rebac_allow":false,"scope_allow":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":"80d19310-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fba721079-269c-4807-9de8-e5cd4cd48282","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d86334c4-22db-4b0c-86ef-c11c83697f63","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.1534607} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":339,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.771825,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"80d1e130-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282","object_type":"device","rebac_allow":false,"scope_allow":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":"80d1e130-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} gateway-1 | {"time_local":"28/Aug/2024:09:11:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1287","request_time":"0.183","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} experiment-1 | {"level":"info","message":"POST /experiments? 201 177ms","method":"POST","requestID":"98b9c76a9d3dce6306c7ef6638d3739b","responseTime":177,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"80d19310-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa/signaling 200 15ms","method":"POST","requestID":"80d19310-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"80d1e130-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/ba721079-269c-4807-9de8-e5cd4cd48282/signaling 200 14ms","method":"POST","requestID":"80d1e130-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/devices/ba721079-269c-4807-9de8-e5cd4cd48282/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4Nn0.uMaYAuuSPRA0C2i7PSv1kcvXrX4LSoxBQvzhkDCynaY","level":"info","message":"auth send jwt","requestID":"dd0e0b54a46b3eef518d7703ee6e93a0"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"dd0e0b54a46b3eef518d7703ee6e93a0","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"80d47940-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dd0e0b54a46b3eef518d7703ee6e93a0"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":340,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":341,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2df34efc-fc07-4a49-91a6-4b94bc12acfa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ae980416-2016-42e9-8a35-f99b23b46eb9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.1702487} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":341,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.059056,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"dd0e0b54a46b3eef518d7703ee6e93a0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836286,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4Nn0.uMaYAuuSPRA0C2i7PSv1kcvXrX4LSoxBQvzhkDCynaY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"dd0e0b54a46b3eef518d7703ee6e93a0","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":340,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.143996,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"80d47940-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa","object_type":"device","rebac_allow":false,"scope_allow":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":"80d47940-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fba721079-269c-4807-9de8-e5cd4cd48282","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fba721079-269c-4807-9de8-e5cd4cd48282","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:23.859211890Z"}]},"request_id":"938020a3-96e4-403d-a290-43ac0f441b35","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.1764386} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"80d47940-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa/signaling 200 13ms","method":"POST","requestID":"80d47940-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"dd0e0b54a46b3eef518d7703ee6e93a0","responseTime":5,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d"},"level":"info","message":"Building connection plan","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} 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":"10f5877a-321f-481d-89fe-1e02238640ec"},{"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":"5d5a85b5-8636-41b0-8c94-52e55536a74e"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"6f3a9c5a-a002-4d0f-80ff-677bda9e4ea1"}]},"level":"info","message":"Built pairwise service configurations","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} 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/2df34efc-fc07-4a49-91a6-4b94bc12acfa"},{"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/ba721079-269c-4807-9de8-e5cd4cd48282"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dd0e0b54a46b3eef518d7703ee6e93a0"} gateway-1 | {"time_local":"28/Aug/2024:09:11:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/ba721079-269c-4807-9de8-e5cd4cd48282? 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":"dd0e0b54a46b3eef518d7703ee6e93a0"} device-1 | {"level":"info","message":"GET /devices/ba721079-269c-4807-9de8-e5cd4cd48282? 200 17ms","method":"GET","requestID":"dd0e0b54a46b3eef518d7703ee6e93a0","responseTime":17,"status":200,"url":"/devices/ba721079-269c-4807-9de8-e5cd4cd48282?"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"80d78680-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4Nn0.uMaYAuuSPRA0C2i7PSv1kcvXrX4LSoxBQvzhkDCynaY","level":"info","message":"auth send jwt","requestID":"ec57964e87dcd48ffc38e068a2231505"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":342,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ec57964e87dcd48ffc38e068a2231505","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":342,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.79294,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ec57964e87dcd48ffc38e068a2231505"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"80d78680-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836285,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4NX0.mXyowz6eiE4DqMeri80BfrrrG_inNELBxDW1E6NvHR8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"80d78680-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":343,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":343,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.844678,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ec57964e87dcd48ffc38e068a2231505","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836286,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4Nn0.uMaYAuuSPRA0C2i7PSv1kcvXrX4LSoxBQvzhkDCynaY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ec57964e87dcd48ffc38e068a2231505","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2df34efc-fc07-4a49-91a6-4b94bc12acfa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2df34efc-fc07-4a49-91a6-4b94bc12acfa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:23.911121838Z"}]},"request_id":"30f86b2f-e8f5-49bf-aaaa-f2f7e23a2720","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.1965258} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ec57964e87dcd48ffc38e068a2231505","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"7c540b42-6603-4325-aa86-f1ea5571a394","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.1975176} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8cd1461b-81ba-4d72-8d75-42a35e7d7ddc","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.1977627} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"80d78680-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ec57964e87dcd48ffc38e068a2231505"} gateway-1 | {"time_local":"28/Aug/2024:09:11:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa? 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":"ec57964e87dcd48ffc38e068a2231505"} device-1 | {"level":"info","message":"GET /devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa? 200 14ms","method":"GET","requestID":"ec57964e87dcd48ffc38e068a2231505","responseTime":14,"status":200,"url":"/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"80d78680-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"80d78680-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/76d73bfe-8c31-49c5-9386-4291709a6b67'","requestID":"80d78680-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/76d73bfe-8c31-49c5-9386-4291709a6b67'","requestID":"80d78680-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"80d78680-651d-11ef-83ce-bd5a3df00b5c"} 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":"80d78680-651d-11ef-83ce-bd5a3df00b5c","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":"80d78680-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/76d73bfe-8c31-49c5-9386-4291709a6b67","device":"2df34efc-fc07-4a49-91a6-4b94bc12acfa","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} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/76d73bfe-8c31-49c5-9386-4291709a6b67","device":"ba721079-269c-4807-9de8-e5cd4cd48282","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 | {"device":"2df34efc-fc07-4a49-91a6-4b94bc12acfa","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"98b9c76a9d3dce6306c7ef6638d3739b"} device-1 | {"content":{"canTrickle":true},"device":"2df34efc-fc07-4a49-91a6-4b94bc12acfa","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"ba721079-269c-4807-9de8-e5cd4cd48282","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"ba721079-269c-4807-9de8-e5cd4cd48282","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"80e0d550-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":344,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fba721079-269c-4807-9de8-e5cd4cd48282","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0a3011b4-3810-43c9-ac0c-6df7064a6339","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.2497365} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":344,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.030454,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"80e0d550-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282","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=- 3275981471723275774 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:g99U\r\na=ice-pwd:IpDYHN5kovipd3NUdpIqSAcK\r\na=ice-options:trickle\r\na=fingerprint:sha-256 8F:4D:E8:20:93:DD:8F:FD:C2:B6:A1:D8:60:BC:67:15:D3:1C:CC:C4:C0:DE:95:BA:10:41:F2:A0:89:DA:BF: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":"ba721079-269c-4807-9de8-e5cd4cd48282","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"80e0d550-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"80e0d550-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/ba721079-269c-4807-9de8-e5cd4cd48282/signaling 200 11ms","method":"POST","requestID":"80e0d550-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/ba721079-269c-4807-9de8-e5cd4cd48282/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"80e2d120-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":345,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2df34efc-fc07-4a49-91a6-4b94bc12acfa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6af9b084-3120-42a4-a7bc-a56437ddb754","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.2633042} device-1 | {"content":{"sdp":"v=0\r\no=- 7621006324944175330 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:6VvM\r\na=ice-pwd:m8LMx/wALC8BaddKYfxv6MsG\r\na=ice-options:trickle\r\na=fingerprint:sha-256 DA:A4:EE:03:8B:57:B6:85:80:D5:1D:2A:58:1C:8A:8C:64:7E:36:5A:78:12:69:D6:46:A4:09:8B:28:E2:C7:0C\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"2df34efc-fc07-4a49-91a6-4b94bc12acfa","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":345,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.710743,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} device-1 | {"content":{"candidate":"candidate:1133701819 1 udp 2113937151 77d3b104-b9b7-4303-ad55-ed0b0bb63117.local 44410 typ host generation 0 ufrag 6VvM network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"2df34efc-fc07-4a49-91a6-4b94bc12acfa","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"80e2d120-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"80e2d120-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"content":{"candidate":"candidate:1184556515 1 udp 1677729535 141.24.211.56 44410 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 6VvM network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"2df34efc-fc07-4a49-91a6-4b94bc12acfa","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/2df34efc-fc07-4a49-91a6-4b94bc12acfa'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa'"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"80e2d120-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa/signaling 200 13ms","method":"POST","requestID":"80e2d120-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa/signaling"} device-1 | {"content":{"candidate":"candidate:1018047663 1 udp 2113937151 b20a5271-d8a4-4b5b-8bcf-d6e11ba7304a.local 57275 typ host generation 0 ufrag g99U network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"ba721079-269c-4807-9de8-e5cd4cd48282","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:967189495 1 udp 1677729535 141.24.211.56 57275 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag g99U network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"ba721079-269c-4807-9de8-e5cd4cd48282","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/ba721079-269c-4807-9de8-e5cd4cd48282'"} device-1 | {"device":"ba721079-269c-4807-9de8-e5cd4cd48282","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"2df34efc-fc07-4a49-91a6-4b94bc12acfa","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"ba721079-269c-4807-9de8-e5cd4cd48282","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/76d73bfe-8c31-49c5-9386-4291709a6b67' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"76d73bfe-8c31-49c5-9386-4291709a6b67","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"2df34efc-fc07-4a49-91a6-4b94bc12acfa","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"2df34efc-fc07-4a49-91a6-4b94bc12acfa","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":"d13eb61aea3c554aea9dce4339f628df","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"ba721079-269c-4807-9de8-e5cd4cd48282","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d13eb61aea3c554aea9dce4339f628df","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/2df34efc-fc07-4a49-91a6-4b94bc12acfa"},{"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/ba721079-269c-4807-9de8-e5cd4cd48282"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/76d73bfe-8c31-49c5-9386-4291709a6b67"}}},"level":"info","message":"received a callback","requestID":"d13eb61aea3c554aea9dce4339f628df"} device-1 | {"device":"2df34efc-fc07-4a49-91a6-4b94bc12acfa","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"d13eb61aea3c554aea9dce4339f628df","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.009","http_referrer":"","http_user_agent":"node-fetch","requestID":"d13eb61aea3c554aea9dce4339f628df"} device-1 | {"data":{"peerconnection":"76d73bfe-8c31-49c5-9386-4291709a6b67","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"76d73bfe-8c31-49c5-9386-4291709a6b67","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/76d73bfe-8c31-49c5-9386-4291709a6b67' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"76d73bfe-8c31-49c5-9386-4291709a6b67","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5a495fedd176782301c537b8ae86d02d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"5a495fedd176782301c537b8ae86d02d","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/2df34efc-fc07-4a49-91a6-4b94bc12acfa"},{"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/ba721079-269c-4807-9de8-e5cd4cd48282"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/76d73bfe-8c31-49c5-9386-4291709a6b67"}}},"level":"info","message":"received a callback","requestID":"5a495fedd176782301c537b8ae86d02d"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"80edcda0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":346,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F76d73bfe-8c31-49c5-9386-4291709a6b67","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d60c116c-0000-4bc3-b1f4-4bf3d90b238c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.334309} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":346,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.196934,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/76d73bfe-8c31-49c5-9386-4291709a6b67","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"80edcda0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/76d73bfe-8c31-49c5-9386-4291709a6b67","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":"80edcda0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"80edcda0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/76d73bfe-8c31-49c5-9386-4291709a6b67 200 7ms","method":"GET","requestID":"80edcda0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/peerconnections/76d73bfe-8c31-49c5-9386-4291709a6b67"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 34ms","method":"POST","requestID":"5a495fedd176782301c537b8ae86d02d","responseTime":34,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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":"5a495fedd176782301c537b8ae86d02d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"80f23a70-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":347,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2df34efc-fc07-4a49-91a6-4b94bc12acfa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2d0a49c0-480d-45dd-b315-ab35cd76969d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.364408} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":347,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.468471,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"80f23a70-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"80f23a70-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"80f23a70-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa/signaling 200 10ms","method":"POST","requestID":"80f23a70-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"80f43640-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":348,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fba721079-269c-4807-9de8-e5cd4cd48282","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ff6c1f57-46db-4e3b-b633-062b1cf7e5ec","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.3766809} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":348,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.289708,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"80f43640-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"80f43640-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"80f43640-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/ba721079-269c-4807-9de8-e5cd4cd48282/signaling 200 9ms","method":"POST","requestID":"80f43640-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/ba721079-269c-4807-9de8-e5cd4cd48282/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4Nn0.uMaYAuuSPRA0C2i7PSv1kcvXrX4LSoxBQvzhkDCynaY","level":"info","message":"auth send jwt","requestID":"49e3d3e128a571371a58e5e4c897632c"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"49e3d3e128a571371a58e5e4c897632c","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d","requestID":"49e3d3e128a571371a58e5e4c897632c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":349,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":349,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.619923,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"49e3d3e128a571371a58e5e4c897632c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836286,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4Nn0.uMaYAuuSPRA0C2i7PSv1kcvXrX4LSoxBQvzhkDCynaY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"49e3d3e128a571371a58e5e4c897632c","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d","requestID":"49e3d3e128a571371a58e5e4c897632c"} gateway-1 | {"time_local":"28/Aug/2024:09:11:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d HTTP/1.1","status": "200","body_bytes_sent":"1360","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"49e3d3e128a571371a58e5e4c897632c"} experiment-1 | {"level":"info","message":"GET /experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d 200 10ms","method":"GET","requestID":"49e3d3e128a571371a58e5e4c897632c","responseTime":10,"status":200,"url":"/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4Nn0.uMaYAuuSPRA0C2i7PSv1kcvXrX4LSoxBQvzhkDCynaY","level":"info","message":"auth send jwt","requestID":"40b1dfcd0d7c031cd00a6a4783931bd6"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"40b1dfcd0d7c031cd00a6a4783931bd6","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d","requestID":"40b1dfcd0d7c031cd00a6a4783931bd6"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":350,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":350,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.664237,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"40b1dfcd0d7c031cd00a6a4783931bd6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836286,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4Nn0.uMaYAuuSPRA0C2i7PSv1kcvXrX4LSoxBQvzhkDCynaY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"40b1dfcd0d7c031cd00a6a4783931bd6","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d"},"level":"info","message":"Attempting to finish experiment","requestID":"40b1dfcd0d7c031cd00a6a4783931bd6"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"80fce8d0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":351,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":351,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.654077,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/76d73bfe-8c31-49c5-9386-4291709a6b67","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"80fce8d0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/76d73bfe-8c31-49c5-9386-4291709a6b67","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836286,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4Nn0.uMaYAuuSPRA0C2i7PSv1kcvXrX4LSoxBQvzhkDCynaY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"80fce8d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/76d73bfe-8c31-49c5-9386-4291709a6b67","device":"2df34efc-fc07-4a49-91a6-4b94bc12acfa","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/76d73bfe-8c31-49c5-9386-4291709a6b67","device":"ba721079-269c-4807-9de8-e5cd4cd48282","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/76d73bfe-8c31-49c5-9386-4291709a6b67' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/76d73bfe-8c31-49c5-9386-4291709a6b67' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"76d73bfe-8c31-49c5-9386-4291709a6b67","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F76d73bfe-8c31-49c5-9386-4291709a6b67': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F76d73bfe-8c31-49c5-9386-4291709a6b67","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"6915098f-8b8d-4d79-9b26-0f8fc3c3b863","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.4485867} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"32d16ab892024f42386b639dfb13d1d5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1ffa1fcc-6412-45b4-b126-60fd99669372","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.4487402} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"32d16ab892024f42386b639dfb13d1d5","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":"closed","url":"http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa"},{"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/ba721079-269c-4807-9de8-e5cd4cd48282"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/76d73bfe-8c31-49c5-9386-4291709a6b67"}}},"level":"info","message":"received a callback","requestID":"32d16ab892024f42386b639dfb13d1d5"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"338b441eb40e131df65545c0e90fdfa4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"80fce8d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"338b441eb40e131df65545c0e90fdfa4","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/2df34efc-fc07-4a49-91a6-4b94bc12acfa"},{"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/ba721079-269c-4807-9de8-e5cd4cd48282"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/76d73bfe-8c31-49c5-9386-4291709a6b67"}}},"level":"info","message":"received a callback","requestID":"338b441eb40e131df65545c0e90fdfa4"} device-1 | {"data":{"peerconnection":"76d73bfe-8c31-49c5-9386-4291709a6b67","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"80fce8d0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/76d73bfe-8c31-49c5-9386-4291709a6b67 204 39ms","method":"DELETE","requestID":"80fce8d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":39,"status":204,"url":"/peerconnections/76d73bfe-8c31-49c5-9386-4291709a6b67"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d"},"level":"info","message":"Successfully finished experiment","requestID":"40b1dfcd0d7c031cd00a6a4783931bd6"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"81059b60-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":352,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F2df34efc-fc07-4a49-91a6-4b94bc12acfa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f2e4da52-d22b-4282-98c4-0b8cd875beb4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.4925067} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":352,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.138631,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"81059b60-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"81059b60-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"81059b60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa/signaling 200 11ms","method":"POST","requestID":"81059b60-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc4d02e19-7fcc-4b4a-9704-6bbbf7ba905d': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fc4d02e19-7fcc-4b4a-9704-6bbbf7ba905d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"3b0883d3-340d-4e7a-8205-95c0035f4dce","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.4992578} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c814068e-9c14-42e1-8459-419b4f30c170","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.4995055} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8107be40-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"40b1dfcd0d7c031cd00a6a4783931bd6","responseTime":17,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":353,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fba721079-269c-4807-9de8-e5cd4cd48282","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"64584c36-f89b-4e46-a53e-5212396518c9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.5051568} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":353,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.306825,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8107be40-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"8107be40-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8107be40-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/ba721079-269c-4807-9de8-e5cd4cd48282/signaling 200 9ms","method":"POST","requestID":"8107be40-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/ba721079-269c-4807-9de8-e5cd4cd48282/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d","requestID":"40b1dfcd0d7c031cd00a6a4783931bd6"} gateway-1 | {"time_local":"28/Aug/2024:09:11:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.145","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"40b1dfcd0d7c031cd00a6a4783931bd6"} experiment-1 | {"level":"info","message":"DELETE /experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d 204 143ms","method":"DELETE","requestID":"40b1dfcd0d7c031cd00a6a4783931bd6","responseTime":143,"status":204,"url":"/experiments/c4d02e19-7fcc-4b4a-9704-6bbbf7ba905d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 116ms","method":"POST","requestID":"32d16ab892024f42386b639dfb13d1d5","responseTime":116,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.119","http_referrer":"","http_user_agent":"node-fetch","requestID":"32d16ab892024f42386b639dfb13d1d5"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 115ms","method":"POST","requestID":"338b441eb40e131df65545c0e90fdfa4","responseTime":115,"status":200,"url":"/callbacks/experiment"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4Nn0.uMaYAuuSPRA0C2i7PSv1kcvXrX4LSoxBQvzhkDCynaY","level":"info","message":"auth send jwt","requestID":"629ce8c651d7264f281a14d643bb57b8"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"629ce8c651d7264f281a14d643bb57b8","responseTime":5,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.122","http_referrer":"","http_user_agent":"node-fetch","requestID":"338b441eb40e131df65545c0e90fdfa4"} device-1 | {"level":"info","message":"postDevices called","requestID":"629ce8c651d7264f281a14d643bb57b8"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":354,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":354,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.896253,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} gateway-1 | {"time_local":"28/Aug/2024:09:11:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2885","request_time":"0.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":"7901a5d66eef85e8f5442ad720aace60"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"629ce8c651d7264f281a14d643bb57b8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836286,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4Nn0.uMaYAuuSPRA0C2i7PSv1kcvXrX4LSoxBQvzhkDCynaY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"629ce8c651d7264f281a14d643bb57b8","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"28/Aug/2024:09:11:26 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2888","request_time":"0.699","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"3644c53afec88d8ebf59264fff02bb50"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/2df34efc-fc07-4a49-91a6-4b94bc12acfa' closed"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/ba721079-269c-4807-9de8-e5cd4cd48282' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71404b23-b7df-4db6-999f-b0ce8593e4c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"a0b6970f-83d9-4673-884e-338df7ba246c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.5919049} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"629ce8c651d7264f281a14d643bb57b8","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3d258634-0813-4a21-bad9-6f16f44352b9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.5971496} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"629ce8c651d7264f281a14d643bb57b8","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71404b23-b7df-4db6-999f-b0ce8593e4c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"6ed43d2e-6285-4be0-ba1d-c49f0c0b6810","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.6074367} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6b812ee9-004c-4c2e-992d-6d0d69cbf85e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.607863} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"629ce8c651d7264f281a14d643bb57b8","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71404b23-b7df-4db6-999f-b0ce8593e4c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71404b23-b7df-4db6-999f-b0ce8593e4c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:26.607419434Z"}]},"request_id":"e8dbea10-1d97-4c13-b2cf-7cb66d4c1e41","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.6117513} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"629ce8c651d7264f281a14d643bb57b8","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"629ce8c651d7264f281a14d643bb57b8"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"629ce8c651d7264f281a14d643bb57b8"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"629ce8c651d7264f281a14d643bb57b8","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4Nn0.uMaYAuuSPRA0C2i7PSv1kcvXrX4LSoxBQvzhkDCynaY","level":"info","message":"auth send jwt","requestID":"d172f9a25ecd0c06eed6436fa6f13317"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d172f9a25ecd0c06eed6436fa6f13317","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"d172f9a25ecd0c06eed6436fa6f13317"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":355,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":355,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.299217,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:26Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"d172f9a25ecd0c06eed6436fa6f13317","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836286,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4Nn0.uMaYAuuSPRA0C2i7PSv1kcvXrX4LSoxBQvzhkDCynaY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d172f9a25ecd0c06eed6436fa6f13317","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c40e249-4acb-442c-8177-3c52c74051bb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"380d2381-2b85-44d1-b271-47979e9e73f1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.6359746} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d172f9a25ecd0c06eed6436fa6f13317","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3137dc3b-63ed-4b3d-9e21-2fe152931104","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.6407363} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"d172f9a25ecd0c06eed6436fa6f13317","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c40e249-4acb-442c-8177-3c52c74051bb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"aadcc24d-695f-4375-b871-f58d14c7ba62","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.6562598} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e448b2c0-772d-4aa2-a44f-ae539936da39","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.6565707} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"d172f9a25ecd0c06eed6436fa6f13317","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c40e249-4acb-442c-8177-3c52c74051bb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c40e249-4acb-442c-8177-3c52c74051bb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:26.656236659Z"}]},"request_id":"775f98b0-e798-4bf5-87af-e5f9e31c5b95","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836286.662212} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d172f9a25ecd0c06eed6436fa6f13317","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d172f9a25ecd0c06eed6436fa6f13317"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.050","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d172f9a25ecd0c06eed6436fa6f13317"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"d172f9a25ecd0c06eed6436fa6f13317","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"93ae2273f1df3aa2b43db45b9377655f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"93ae2273f1df3aa2b43db45b9377655f","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/71404b23-b7df-4db6-999f-b0ce8593e4c2/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":"93ae2273f1df3aa2b43db45b9377655f"} device-1 | {"level":"info","message":"OPTIONS /devices/71404b23-b7df-4db6-999f-b0ce8593e4c2/websocket 200 2ms","method":"OPTIONS","requestID":"93ae2273f1df3aa2b43db45b9377655f","responseTime":2,"status":200,"url":"/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OH0.as517GOUfxAMCbNi3d_UwmuAFF-zNCvhG1OG8cMtmwA","level":"info","message":"auth send jwt","requestID":"d174a772cb79dd943b4194638a122ddc"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d174a772cb79dd943b4194638a122ddc","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"d174a772cb79dd943b4194638a122ddc"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":356,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":356,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.207135,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"d174a772cb79dd943b4194638a122ddc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836288,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OH0.as517GOUfxAMCbNi3d_UwmuAFF-zNCvhG1OG8cMtmwA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d174a772cb79dd943b4194638a122ddc","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"03f5b48ec7fe159d229a8823758a3e94","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"03f5b48ec7fe159d229a8823758a3e94","responseTime":0,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/7c40e249-4acb-442c-8177-3c52c74051bb/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":"03f5b48ec7fe159d229a8823758a3e94"} device-1 | {"level":"info","message":"OPTIONS /devices/7c40e249-4acb-442c-8177-3c52c74051bb/websocket 200 1ms","method":"OPTIONS","requestID":"03f5b48ec7fe159d229a8823758a3e94","responseTime":1,"status":200,"url":"/devices/7c40e249-4acb-442c-8177-3c52c74051bb/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OH0.as517GOUfxAMCbNi3d_UwmuAFF-zNCvhG1OG8cMtmwA","level":"info","message":"auth send jwt","requestID":"864f4ebf9b9908f5da6d412c2666c385"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"864f4ebf9b9908f5da6d412c2666c385","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"864f4ebf9b9908f5da6d412c2666c385"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":357,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":357,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.025244,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"864f4ebf9b9908f5da6d412c2666c385","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836288,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OH0.as517GOUfxAMCbNi3d_UwmuAFF-zNCvhG1OG8cMtmwA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"864f4ebf9b9908f5da6d412c2666c385","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"d174a772cb79dd943b4194638a122ddc"} gateway-1 | {"time_local":"28/Aug/2024:09:11:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/71404b23-b7df-4db6-999f-b0ce8593e4c2/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.068","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d174a772cb79dd943b4194638a122ddc"} device-1 | {"level":"info","message":"POST /devices/71404b23-b7df-4db6-999f-b0ce8593e4c2/websocket 200 62ms","method":"POST","requestID":"d174a772cb79dd943b4194638a122ddc","responseTime":62,"status":200,"url":"/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"864f4ebf9b9908f5da6d412c2666c385"} device-1 | {"level":"info","message":"POST /devices/7c40e249-4acb-442c-8177-3c52c74051bb/websocket 200 39ms","method":"POST","requestID":"864f4ebf9b9908f5da6d412c2666c385","responseTime":39,"status":200,"url":"/devices/7c40e249-4acb-442c-8177-3c52c74051bb/websocket"} gateway-1 | {"time_local":"28/Aug/2024:09:11:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/7c40e249-4acb-442c-8177-3c52c74051bb/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.044","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"864f4ebf9b9908f5da6d412c2666c385"} device-1 | {"level":"info","message":"device 'http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OH0.as517GOUfxAMCbNi3d_UwmuAFF-zNCvhG1OG8cMtmwA","level":"info","message":"auth send jwt","requestID":"ced52343512039d9313fc962852e5f6b"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"ced52343512039d9313fc962852e5f6b","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ced52343512039d9313fc962852e5f6b"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":358,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":358,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.69602,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ced52343512039d9313fc962852e5f6b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836288,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OH0.as517GOUfxAMCbNi3d_UwmuAFF-zNCvhG1OG8cMtmwA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ced52343512039d9313fc962852e5f6b","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71404b23-b7df-4db6-999f-b0ce8593e4c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71404b23-b7df-4db6-999f-b0ce8593e4c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:26.607419434Z"}]},"request_id":"bbe66444-a358-4525-a2b1-d1dcf4ef2819","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836288.7316837} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ced52343512039d9313fc962852e5f6b","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ced52343512039d9313fc962852e5f6b"} gateway-1 | {"time_local":"28/Aug/2024:09:11:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/71404b23-b7df-4db6-999f-b0ce8593e4c2? 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":"ced52343512039d9313fc962852e5f6b"} device-1 | {"level":"info","message":"GET /devices/71404b23-b7df-4db6-999f-b0ce8593e4c2? 200 13ms","method":"GET","requestID":"ced52343512039d9313fc962852e5f6b","responseTime":13,"status":200,"url":"/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OH0.as517GOUfxAMCbNi3d_UwmuAFF-zNCvhG1OG8cMtmwA","level":"info","message":"auth send jwt","requestID":"7104393497dad0209c3abfbf44a4ffd0"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7104393497dad0209c3abfbf44a4ffd0","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7104393497dad0209c3abfbf44a4ffd0"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":359,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":359,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.830604,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7104393497dad0209c3abfbf44a4ffd0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836288,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OH0.as517GOUfxAMCbNi3d_UwmuAFF-zNCvhG1OG8cMtmwA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7104393497dad0209c3abfbf44a4ffd0","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c40e249-4acb-442c-8177-3c52c74051bb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c40e249-4acb-442c-8177-3c52c74051bb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:26.656236659Z"}]},"request_id":"3cb3e179-f386-4133-868d-2129aaa964c2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836288.750999} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7104393497dad0209c3abfbf44a4ffd0","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7104393497dad0209c3abfbf44a4ffd0"} gateway-1 | {"time_local":"28/Aug/2024:09:11:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7c40e249-4acb-442c-8177-3c52c74051bb? 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":"7104393497dad0209c3abfbf44a4ffd0"} device-1 | {"level":"info","message":"GET /devices/7c40e249-4acb-442c-8177-3c52c74051bb? 200 13ms","method":"GET","requestID":"7104393497dad0209c3abfbf44a4ffd0","responseTime":13,"status":200,"url":"/devices/7c40e249-4acb-442c-8177-3c52c74051bb?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OH0.as517GOUfxAMCbNi3d_UwmuAFF-zNCvhG1OG8cMtmwA","level":"info","message":"auth send jwt","requestID":"c1b14cd1171f7065b5e008e93cb16060"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"c1b14cd1171f7065b5e008e93cb16060","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"c1b14cd1171f7065b5e008e93cb16060"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":360,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":360,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.698949,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"c1b14cd1171f7065b5e008e93cb16060","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836288,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OH0.as517GOUfxAMCbNi3d_UwmuAFF-zNCvhG1OG8cMtmwA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c1b14cd1171f7065b5e008e93cb16060","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc"},"level":"info","message":"Attempting to run experiment","requestID":"c1b14cd1171f7065b5e008e93cb16060"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc"},"level":"info","message":"Attempting to book experiment","requestID":"c1b14cd1171f7065b5e008e93cb16060"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc"},"level":"info","message":"Successfully booked experiment","requestID":"c1b14cd1171f7065b5e008e93cb16060"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8265c7a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8265eeb0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":361,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":361,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.719995,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":362,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8265c7a0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836288,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OH0.as517GOUfxAMCbNi3d_UwmuAFF-zNCvhG1OG8cMtmwA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8265c7a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":362,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.637332,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8265eeb0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836288,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OH0.as517GOUfxAMCbNi3d_UwmuAFF-zNCvhG1OG8cMtmwA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8265eeb0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71404b23-b7df-4db6-999f-b0ce8593e4c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71404b23-b7df-4db6-999f-b0ce8593e4c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:26.607419434Z"}]},"request_id":"09b5d9b8-f001-4454-818d-2d8a78ff754d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836288.805807} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8265c7a0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c40e249-4acb-442c-8177-3c52c74051bb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c40e249-4acb-442c-8177-3c52c74051bb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:26.656236659Z"}]},"request_id":"4063499e-040d-4f3f-9d7b-7cca0e2ef825","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836288.8061094} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8265eeb0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8265c7a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/71404b23-b7df-4db6-999f-b0ce8593e4c2? 200 17ms","method":"GET","requestID":"8265c7a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":17,"status":200,"url":"/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8265eeb0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/7c40e249-4acb-442c-8177-3c52c74051bb? 200 16ms","method":"GET","requestID":"8265eeb0-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/7c40e249-4acb-442c-8177-3c52c74051bb?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc"},"level":"info","message":"Setting up experiment","requestID":"c1b14cd1171f7065b5e008e93cb16060"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"c1b14cd1171f7065b5e008e93cb16060"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc"},"level":"info","message":"Successfully locked booking for experiment","requestID":"c1b14cd1171f7065b5e008e93cb16060"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"c1b14cd1171f7065b5e008e93cb16060"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"c1b14cd1171f7065b5e008e93cb16060"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc"},"level":"info","message":"Attempting to update booking for experiment","requestID":"c1b14cd1171f7065b5e008e93cb16060"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc"},"level":"info","message":"Successfully updated booking for experiment","requestID":"c1b14cd1171f7065b5e008e93cb16060"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc"},"level":"info","message":"Successfully set up experiment","requestID":"c1b14cd1171f7065b5e008e93cb16060"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8270c420-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8270eb30-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":363,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:28Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc"},"level":"info","message":"Successfully running experiment","requestID":"c1b14cd1171f7065b5e008e93cb16060"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":363,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.771347,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":364,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:28Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"82713950-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8270c420-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836288,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OH0.as517GOUfxAMCbNi3d_UwmuAFF-zNCvhG1OG8cMtmwA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8270c420-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":364,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.661378,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8270eb30-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836288,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OH0.as517GOUfxAMCbNi3d_UwmuAFF-zNCvhG1OG8cMtmwA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8270eb30-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":365,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71404b23-b7df-4db6-999f-b0ce8593e4c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71404b23-b7df-4db6-999f-b0ce8593e4c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:26.607419434Z"}]},"request_id":"b0fec47d-3a75-4fa3-97bb-77a9f3412ad6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836288.8761547} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71404b23-b7df-4db6-999f-b0ce8593e4c2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2ed6ffce-be3b-4468-b454-9def897551bc","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836288.8761928} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8270c420-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":365,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.695693,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"82713950-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"82713950-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c40e249-4acb-442c-8177-3c52c74051bb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c40e249-4acb-442c-8177-3c52c74051bb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:26.656236659Z"}]},"request_id":"3bc0d851-bb9b-4423-bab8-9c419ae315a2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836288.877614} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"8270eb30-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fcb6fde12-11fd-4028-8f76-7244920659dc#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fcb6fde12-11fd-4028-8f76-7244920659dc","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"1c509888-1cfa-4df6-ae10-b756b5f443c4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836288.8836045} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"29b6488d-1bc2-416e-b213-e5aef84d47ed","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836288.8838484} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"c1b14cd1171f7065b5e008e93cb16060","responseTime":14,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8270c420-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/71404b23-b7df-4db6-999f-b0ce8593e4c2? 200 20ms","method":"GET","requestID":"8270c420-651d-11ef-83ce-bd5a3df00b5c","responseTime":20,"status":200,"url":"/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"82713950-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/71404b23-b7df-4db6-999f-b0ce8593e4c2/signaling 200 19ms","method":"POST","requestID":"82713950-651d-11ef-83ce-bd5a3df00b5c","responseTime":19,"status":200,"url":"/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8270eb30-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/7c40e249-4acb-442c-8177-3c52c74051bb? 200 23ms","method":"GET","requestID":"8270eb30-651d-11ef-83ce-bd5a3df00b5c","responseTime":23,"status":200,"url":"/devices/7c40e249-4acb-442c-8177-3c52c74051bb?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8274bbc0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":366,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:28Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"827530f0-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"c1b14cd1171f7065b5e008e93cb16060"} gateway-1 | {"time_local":"28/Aug/2024:09:11:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1287","request_time":"0.140","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c1b14cd1171f7065b5e008e93cb16060"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c40e249-4acb-442c-8177-3c52c74051bb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"46136f60-2441-4619-8be8-31b21a23d8d7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836288.8968523} experiment-1 | {"level":"info","message":"POST /experiments? 201 137ms","method":"POST","requestID":"c1b14cd1171f7065b5e008e93cb16060","responseTime":137,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":366,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.942378,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":367,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8274bbc0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb","object_type":"device","rebac_allow":false,"scope_allow":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":"8274bbc0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71404b23-b7df-4db6-999f-b0ce8593e4c2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ce87d50e-d202-4a3a-89df-d61efa54a13e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836288.9015749} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OH0.as517GOUfxAMCbNi3d_UwmuAFF-zNCvhG1OG8cMtmwA","level":"info","message":"auth send jwt","requestID":"8eb5fcf2ebb1f4f21393f49bd7a9cfce"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":367,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.955849,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:28Z"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8eb5fcf2ebb1f4f21393f49bd7a9cfce","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"827530f0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"827530f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8274bbc0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/7c40e249-4acb-442c-8177-3c52c74051bb/signaling 200 13ms","method":"POST","requestID":"8274bbc0-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/7c40e249-4acb-442c-8177-3c52c74051bb/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8eb5fcf2ebb1f4f21393f49bd7a9cfce"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":368,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":368,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.775942,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8eb5fcf2ebb1f4f21393f49bd7a9cfce","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836288,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OH0.as517GOUfxAMCbNi3d_UwmuAFF-zNCvhG1OG8cMtmwA"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"827530f0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8eb5fcf2ebb1f4f21393f49bd7a9cfce","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"POST /devices/71404b23-b7df-4db6-999f-b0ce8593e4c2/signaling 200 15ms","method":"POST","requestID":"827530f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8277f010-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71404b23-b7df-4db6-999f-b0ce8593e4c2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71404b23-b7df-4db6-999f-b0ce8593e4c2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:26.607419434Z"}]},"request_id":"0d4050dd-c91a-4f7d-bec1-e45d1ebece63","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836288.9143875} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8eb5fcf2ebb1f4f21393f49bd7a9cfce","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":369,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c40e249-4acb-442c-8177-3c52c74051bb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1d6fb29f-52b9-41b2-9112-56f3510ed1f4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836288.9181468} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8eb5fcf2ebb1f4f21393f49bd7a9cfce"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":369,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.430167,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:28Z"} gateway-1 | {"time_local":"28/Aug/2024:09:11:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/71404b23-b7df-4db6-999f-b0ce8593e4c2? 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":"8eb5fcf2ebb1f4f21393f49bd7a9cfce"} device-1 | {"level":"info","message":"GET /devices/71404b23-b7df-4db6-999f-b0ce8593e4c2? 200 14ms","method":"GET","requestID":"8eb5fcf2ebb1f4f21393f49bd7a9cfce","responseTime":14,"status":200,"url":"/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8277f010-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8277f010-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8277f010-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OH0.as517GOUfxAMCbNi3d_UwmuAFF-zNCvhG1OG8cMtmwA","level":"info","message":"auth send jwt","requestID":"3fd52ce64e81db8c68afcbe939f89311"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"3fd52ce64e81db8c68afcbe939f89311","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"POST /devices/7c40e249-4acb-442c-8177-3c52c74051bb/signaling 200 10ms","method":"POST","requestID":"8277f010-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/7c40e249-4acb-442c-8177-3c52c74051bb/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3fd52ce64e81db8c68afcbe939f89311"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"c1b14cd1171f7065b5e008e93cb16060"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc"},"level":"info","message":"Building connection plan","requestID":"c1b14cd1171f7065b5e008e93cb16060"} 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":"fb9911ad-46d5-4b8b-a76c-ca15f8a41499"},{"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":"b846f634-2d32-435f-8e3c-a220f4edcdd6"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"9007fa2f-6306-40c0-b95d-ee5446e13807"}]},"level":"info","message":"Built pairwise service configurations","requestID":"c1b14cd1171f7065b5e008e93cb16060"} 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/71404b23-b7df-4db6-999f-b0ce8593e4c2"},{"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/7c40e249-4acb-442c-8177-3c52c74051bb"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"c1b14cd1171f7065b5e008e93cb16060"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":370,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:28Z"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"8279ebe0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":370,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.683434,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"3fd52ce64e81db8c68afcbe939f89311","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836288,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OH0.as517GOUfxAMCbNi3d_UwmuAFF-zNCvhG1OG8cMtmwA"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3fd52ce64e81db8c68afcbe939f89311","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":371,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":371,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.649744,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:28Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8279ebe0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836288,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OH0.as517GOUfxAMCbNi3d_UwmuAFF-zNCvhG1OG8cMtmwA"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8279ebe0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c40e249-4acb-442c-8177-3c52c74051bb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c40e249-4acb-442c-8177-3c52c74051bb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:26.656236659Z"}]},"request_id":"0b865925-c2f3-46d2-bd4b-c80ce27dd734","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836288.9316213} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"3fd52ce64e81db8c68afcbe939f89311","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3fd52ce64e81db8c68afcbe939f89311"} gateway-1 | {"time_local":"28/Aug/2024:09:11:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7c40e249-4acb-442c-8177-3c52c74051bb? 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":"3fd52ce64e81db8c68afcbe939f89311"} device-1 | {"level":"info","message":"GET /devices/7c40e249-4acb-442c-8177-3c52c74051bb? 200 16ms","method":"GET","requestID":"3fd52ce64e81db8c68afcbe939f89311","responseTime":16,"status":200,"url":"/devices/7c40e249-4acb-442c-8177-3c52c74051bb?"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"858e9456-8b5c-4016-82ca-d527a0e9297d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836288.9460628} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a7ffe1ac-4660-4432-861c-c2e21967ef58","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836288.9463284} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"8279ebe0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"8279ebe0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"8279ebe0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/0e875f65-ac43-446a-b847-d0c0d3cabcda'","requestID":"8279ebe0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/0e875f65-ac43-446a-b847-d0c0d3cabcda'","requestID":"8279ebe0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"8279ebe0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 35ms","method":"POST","requestID":"8279ebe0-651d-11ef-83ce-bd5a3df00b5c","responseTime":35,"status":201,"url":"/peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"8279ebe0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/0e875f65-ac43-446a-b847-d0c0d3cabcda","device":"7c40e249-4acb-442c-8177-3c52c74051bb","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} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/0e875f65-ac43-446a-b847-d0c0d3cabcda","device":"71404b23-b7df-4db6-999f-b0ce8593e4c2","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} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"c1b14cd1171f7065b5e008e93cb16060"} device-1 | {"device":"7c40e249-4acb-442c-8177-3c52c74051bb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"7c40e249-4acb-442c-8177-3c52c74051bb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8287ce90-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":372,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71404b23-b7df-4db6-999f-b0ce8593e4c2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0611eca8-5296-4b62-8919-eb07878a80f9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.0230958} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":372,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.673577,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:29Z"} device-1 | {"device":"71404b23-b7df-4db6-999f-b0ce8593e4c2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"71404b23-b7df-4db6-999f-b0ce8593e4c2","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/71404b23-b7df-4db6-999f-b0ce8593e4c2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8287ce90-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2","object_type":"device","rebac_allow":false,"scope_allow":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":"8287ce90-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8287ce90-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/71404b23-b7df-4db6-999f-b0ce8593e4c2/signaling 200 13ms","method":"POST","requestID":"8287ce90-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"828a3f90-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":373,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c40e249-4acb-442c-8177-3c52c74051bb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"afd87a82-1ade-435e-8fd1-d3d43af03dd7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.0387554} device-1 | {"content":{"sdp":"v=0\r\no=- 5316649373503315636 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:z8/h\r\na=ice-pwd:8PhtjD/r3LYrYIrTfQL8WHL4\r\na=ice-options:trickle\r\na=fingerprint:sha-256 9E:1D:27:46:9F:84:46:1A:09:E0:08:D0:9A:78:77:0F:56:98:C2:DB:F1:93:97:22:49:A8:05:9A:14:47:1D: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":"7c40e249-4acb-442c-8177-3c52c74051bb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":373,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.289673,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"828a3f90-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb","object_type":"device","rebac_allow":false,"scope_allow":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":"828a3f90-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"828a3f90-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/7c40e249-4acb-442c-8177-3c52c74051bb/signaling 200 15ms","method":"POST","requestID":"828a3f90-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/devices/7c40e249-4acb-442c-8177-3c52c74051bb/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 7951650034623598120 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:K8Xk\r\na=ice-pwd:q2ZVv+GLML7rh2a8COfIs9MD\r\na=ice-options:trickle\r\na=fingerprint:sha-256 E2:1A:5F:A0:FC:7E:ED:DC:06:2A:73:8E:03:84:85:EC:50:43:6C:20:0D:B1:CB:B4:3E:54:A0:49:3D:49:AD:2A\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"71404b23-b7df-4db6-999f-b0ce8593e4c2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:560784258 1 udp 2113937151 e9efdc46-a698-44aa-ab44-f28a6c258cdd.local 38347 typ host generation 0 ufrag K8Xk network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"71404b23-b7df-4db6-999f-b0ce8593e4c2","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/71404b23-b7df-4db6-999f-b0ce8593e4c2'"} device-1 | {"content":{"candidate":"candidate:610594010 1 udp 1677729535 141.24.211.56 38347 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag K8Xk network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"71404b23-b7df-4db6-999f-b0ce8593e4c2","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/71404b23-b7df-4db6-999f-b0ce8593e4c2'"} device-1 | {"content":{"candidate":"candidate:3700029802 1 udp 2113937151 cc31ce55-3829-41f1-a3a2-89c48f27cec0.local 58221 typ host generation 0 ufrag z8/h network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"7c40e249-4acb-442c-8177-3c52c74051bb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3649173042 1 udp 1677729535 141.24.211.56 58221 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag z8/h network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"7c40e249-4acb-442c-8177-3c52c74051bb","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/7c40e249-4acb-442c-8177-3c52c74051bb'"} device-1 | {"device":"7c40e249-4acb-442c-8177-3c52c74051bb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"71404b23-b7df-4db6-999f-b0ce8593e4c2","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/0e875f65-ac43-446a-b847-d0c0d3cabcda' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"0e875f65-ac43-446a-b847-d0c0d3cabcda","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"7c40e249-4acb-442c-8177-3c52c74051bb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"71404b23-b7df-4db6-999f-b0ce8593e4c2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"7c40e249-4acb-442c-8177-3c52c74051bb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"71404b23-b7df-4db6-999f-b0ce8593e4c2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d3debc2a949d5456d3c9d66e339020ee","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d3debc2a949d5456d3c9d66e339020ee","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":"new","url":"http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2"},{"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/7c40e249-4acb-442c-8177-3c52c74051bb"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/0e875f65-ac43-446a-b847-d0c0d3cabcda"}}},"level":"info","message":"received a callback","requestID":"d3debc2a949d5456d3c9d66e339020ee"} device-1 | {"device":"71404b23-b7df-4db6-999f-b0ce8593e4c2","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"d3debc2a949d5456d3c9d66e339020ee","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.010","http_referrer":"","http_user_agent":"node-fetch","requestID":"d3debc2a949d5456d3c9d66e339020ee"} device-1 | {"data":{"peerconnection":"0e875f65-ac43-446a-b847-d0c0d3cabcda","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"0e875f65-ac43-446a-b847-d0c0d3cabcda","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/0e875f65-ac43-446a-b847-d0c0d3cabcda' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"0e875f65-ac43-446a-b847-d0c0d3cabcda","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2cbee3a2e96797b6ca69413d74c9b957","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"2cbee3a2e96797b6ca69413d74c9b957","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/71404b23-b7df-4db6-999f-b0ce8593e4c2"},{"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/7c40e249-4acb-442c-8177-3c52c74051bb"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/0e875f65-ac43-446a-b847-d0c0d3cabcda"}}},"level":"info","message":"received a callback","requestID":"2cbee3a2e96797b6ca69413d74c9b957"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"82984950-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":374,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F0e875f65-ac43-446a-b847-d0c0d3cabcda","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"575fae33-9012-4b5f-a222-71183962fa9c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.1302502} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":374,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.471187,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/0e875f65-ac43-446a-b847-d0c0d3cabcda","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"82984950-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/0e875f65-ac43-446a-b847-d0c0d3cabcda","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":"82984950-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"82984950-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/0e875f65-ac43-446a-b847-d0c0d3cabcda 200 9ms","method":"GET","requestID":"82984950-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/peerconnections/0e875f65-ac43-446a-b847-d0c0d3cabcda"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 37ms","method":"POST","requestID":"2cbee3a2e96797b6ca69413d74c9b957","responseTime":37,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.041","http_referrer":"","http_user_agent":"node-fetch","requestID":"2cbee3a2e96797b6ca69413d74c9b957"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"829d7970-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":375,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71404b23-b7df-4db6-999f-b0ce8593e4c2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"71721170-fd6a-48d6-873b-562bde679c84","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.1643095} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":375,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.641182,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"829d7970-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"829d7970-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"829d7970-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/71404b23-b7df-4db6-999f-b0ce8593e4c2/signaling 200 10ms","method":"POST","requestID":"829d7970-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"829f4e30-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":376,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c40e249-4acb-442c-8177-3c52c74051bb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c5093113-8f81-48e6-a6a4-9d18ca0edd47","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.175594} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":376,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.257758,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"829f4e30-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"829f4e30-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"829f4e30-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/7c40e249-4acb-442c-8177-3c52c74051bb/signaling 200 8ms","method":"POST","requestID":"829f4e30-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/7c40e249-4acb-442c-8177-3c52c74051bb/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OX0.ZUzAswIpwxFg6Adw7-DNXh7gziHEZznbZSZ-MYwgM1w","level":"info","message":"auth send jwt","requestID":"5fa3f0d47be60a671de9f87890a514be"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"5fa3f0d47be60a671de9f87890a514be","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/cb6fde12-11fd-4028-8f76-7244920659dc","requestID":"5fa3f0d47be60a671de9f87890a514be"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":377,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":377,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.715094,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"5fa3f0d47be60a671de9f87890a514be","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836289,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OX0.ZUzAswIpwxFg6Adw7-DNXh7gziHEZznbZSZ-MYwgM1w"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5fa3f0d47be60a671de9f87890a514be","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/cb6fde12-11fd-4028-8f76-7244920659dc","requestID":"5fa3f0d47be60a671de9f87890a514be"} gateway-1 | {"time_local":"28/Aug/2024:09:11:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/cb6fde12-11fd-4028-8f76-7244920659dc HTTP/1.1","status": "200","body_bytes_sent":"1360","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5fa3f0d47be60a671de9f87890a514be"} experiment-1 | {"level":"info","message":"GET /experiments/cb6fde12-11fd-4028-8f76-7244920659dc 200 10ms","method":"GET","requestID":"5fa3f0d47be60a671de9f87890a514be","responseTime":10,"status":200,"url":"/experiments/cb6fde12-11fd-4028-8f76-7244920659dc"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OX0.ZUzAswIpwxFg6Adw7-DNXh7gziHEZznbZSZ-MYwgM1w","level":"info","message":"auth send jwt","requestID":"c74cbcc5dd1cc67272c220c20695b465"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"c74cbcc5dd1cc67272c220c20695b465","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/cb6fde12-11fd-4028-8f76-7244920659dc","requestID":"c74cbcc5dd1cc67272c220c20695b465"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":378,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":378,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.162297,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"c74cbcc5dd1cc67272c220c20695b465","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836289,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OX0.ZUzAswIpwxFg6Adw7-DNXh7gziHEZznbZSZ-MYwgM1w"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"c74cbcc5dd1cc67272c220c20695b465","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc"},"level":"info","message":"Attempting to finish experiment","requestID":"c74cbcc5dd1cc67272c220c20695b465"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"82a827d0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":379,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":379,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.839308,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/0e875f65-ac43-446a-b847-d0c0d3cabcda","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"82a827d0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/0e875f65-ac43-446a-b847-d0c0d3cabcda","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836289,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OX0.ZUzAswIpwxFg6Adw7-DNXh7gziHEZznbZSZ-MYwgM1w"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"82a827d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/0e875f65-ac43-446a-b847-d0c0d3cabcda","device":"71404b23-b7df-4db6-999f-b0ce8593e4c2","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/0e875f65-ac43-446a-b847-d0c0d3cabcda","device":"7c40e249-4acb-442c-8177-3c52c74051bb","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/0e875f65-ac43-446a-b847-d0c0d3cabcda' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/0e875f65-ac43-446a-b847-d0c0d3cabcda' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"0e875f65-ac43-446a-b847-d0c0d3cabcda","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F0e875f65-ac43-446a-b847-d0c0d3cabcda': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F0e875f65-ac43-446a-b847-d0c0d3cabcda","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"3655cd45-befd-4f7f-9f6e-c4a9db34c912","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.244786} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"f4d74c0f-0072-426c-8163-1cfb7844609b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.2451122} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"aa61579efdc4f5b2103aee46108adcb3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"aa61579efdc4f5b2103aee46108adcb3","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6d148bfc2e1bb53b7fdfcdb0c7428d71","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"82a827d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"6d148bfc2e1bb53b7fdfcdb0c7428d71","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":"closed","url":"http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2"},{"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/7c40e249-4acb-442c-8177-3c52c74051bb"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/0e875f65-ac43-446a-b847-d0c0d3cabcda"}}},"level":"info","message":"received a callback","requestID":"aa61579efdc4f5b2103aee46108adcb3"} 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/71404b23-b7df-4db6-999f-b0ce8593e4c2"},{"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/7c40e249-4acb-442c-8177-3c52c74051bb"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/0e875f65-ac43-446a-b847-d0c0d3cabcda"}}},"level":"info","message":"received a callback","requestID":"6d148bfc2e1bb53b7fdfcdb0c7428d71"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"82a827d0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/0e875f65-ac43-446a-b847-d0c0d3cabcda 204 37ms","method":"DELETE","requestID":"82a827d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":37,"status":204,"url":"/peerconnections/0e875f65-ac43-446a-b847-d0c0d3cabcda"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/cb6fde12-11fd-4028-8f76-7244920659dc"},"level":"info","message":"Successfully finished experiment","requestID":"c74cbcc5dd1cc67272c220c20695b465"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"82b10170-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":380,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71404b23-b7df-4db6-999f-b0ce8593e4c2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"56702dc2-b48b-427b-9c19-82df9acc2769","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.2916644} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":380,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.375004,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"82b10170-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"82b10170-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"82b10170-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/71404b23-b7df-4db6-999f-b0ce8593e4c2/signaling 200 9ms","method":"POST","requestID":"82b10170-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/71404b23-b7df-4db6-999f-b0ce8593e4c2/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"82b2d630-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":381,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7c40e249-4acb-442c-8177-3c52c74051bb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0ffe38e2-5550-42e3-a662-31eb0af1528d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.3033483} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fcb6fde12-11fd-4028-8f76-7244920659dc': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fcb6fde12-11fd-4028-8f76-7244920659dc","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"b9a09370-d626-4173-9336-1ee6377f3d65","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.3034875} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"085a7a46-fbee-4f89-a73a-8f62182122ca","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.3038855} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":381,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.49789,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"82b2d630-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"82b2d630-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"c74cbcc5dd1cc67272c220c20695b465","responseTime":22,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"82b2d630-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/7c40e249-4acb-442c-8177-3c52c74051bb/signaling 200 12ms","method":"POST","requestID":"82b2d630-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/7c40e249-4acb-442c-8177-3c52c74051bb/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/cb6fde12-11fd-4028-8f76-7244920659dc","requestID":"c74cbcc5dd1cc67272c220c20695b465"} gateway-1 | {"time_local":"28/Aug/2024:09:11:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/cb6fde12-11fd-4028-8f76-7244920659dc HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.159","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c74cbcc5dd1cc67272c220c20695b465"} experiment-1 | {"level":"info","message":"DELETE /experiments/cb6fde12-11fd-4028-8f76-7244920659dc 204 156ms","method":"DELETE","requestID":"c74cbcc5dd1cc67272c220c20695b465","responseTime":156,"status":204,"url":"/experiments/cb6fde12-11fd-4028-8f76-7244920659dc"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 130ms","method":"POST","requestID":"aa61579efdc4f5b2103aee46108adcb3","responseTime":130,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.133","http_referrer":"","http_user_agent":"node-fetch","requestID":"aa61579efdc4f5b2103aee46108adcb3"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 130ms","method":"POST","requestID":"6d148bfc2e1bb53b7fdfcdb0c7428d71","responseTime":130,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.134","http_referrer":"","http_user_agent":"node-fetch","requestID":"6d148bfc2e1bb53b7fdfcdb0c7428d71"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OX0.ZUzAswIpwxFg6Adw7-DNXh7gziHEZznbZSZ-MYwgM1w","level":"info","message":"auth send jwt","requestID":"0ed9279e38efb195e64fc3303978e2c3"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"0ed9279e38efb195e64fc3303978e2c3","responseTime":7,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11:29 +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.680","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"cf30d35caee7a3f388a8a2ca3e177ec6"} gateway-1 | {"time_local":"28/Aug/2024:09:11:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2888","request_time":"0.697","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"6c941b418c231be4093b88e455ad2b6c"} device-1 | {"level":"info","message":"postDevices called","requestID":"0ed9279e38efb195e64fc3303978e2c3"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":382,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":382,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.943944,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"0ed9279e38efb195e64fc3303978e2c3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836289,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OX0.ZUzAswIpwxFg6Adw7-DNXh7gziHEZznbZSZ-MYwgM1w"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/7c40e249-4acb-442c-8177-3c52c74051bb' closed"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"0ed9279e38efb195e64fc3303978e2c3","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/71404b23-b7df-4db6-999f-b0ce8593e4c2' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd0303f7a-cca6-42a8-911d-2310265b7497","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"e874da82-08a9-4491-b81f-f413f546f216","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.4246552} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0ed9279e38efb195e64fc3303978e2c3","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"10515eb0-7098-4768-bcf8-cfe228aa0ef3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.4295378} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"0ed9279e38efb195e64fc3303978e2c3","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd0303f7a-cca6-42a8-911d-2310265b7497","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"82578351-fe94-4e88-87b8-81fb0063284f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.4397106} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"06d6ebcd-7986-48d9-9043-918ac1d03b4f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.4409769} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"0ed9279e38efb195e64fc3303978e2c3","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd0303f7a-cca6-42a8-911d-2310265b7497","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd0303f7a-cca6-42a8-911d-2310265b7497","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:29.439691263Z"}]},"request_id":"980430b1-6b28-4982-9dad-d28675ce6c61","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.4452033} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0ed9279e38efb195e64fc3303978e2c3","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"0ed9279e38efb195e64fc3303978e2c3"} gateway-1 | {"time_local":"28/Aug/2024:09:11:29 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.073","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0ed9279e38efb195e64fc3303978e2c3"} device-1 | {"level":"info","message":"POST /devices? 201 53ms","method":"POST","requestID":"0ed9279e38efb195e64fc3303978e2c3","responseTime":53,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OX0.ZUzAswIpwxFg6Adw7-DNXh7gziHEZznbZSZ-MYwgM1w","level":"info","message":"auth send jwt","requestID":"e68672033a507de1f5f4b087b7ec36fb"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"e68672033a507de1f5f4b087b7ec36fb","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"e68672033a507de1f5f4b087b7ec36fb"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":383,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":383,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.690106,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:29Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"e68672033a507de1f5f4b087b7ec36fb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836289,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI4OX0.ZUzAswIpwxFg6Adw7-DNXh7gziHEZznbZSZ-MYwgM1w"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e68672033a507de1f5f4b087b7ec36fb","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"fb481876-c1c3-4d2f-8fe7-f5726eb60766","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.468294} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e68672033a507de1f5f4b087b7ec36fb","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a8867136-1f0c-4131-b001-83b2b4b23f50","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.4728723} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"e68672033a507de1f5f4b087b7ec36fb","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"d51b06c7-2c05-416f-b0af-12e5d1a9740c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.4892964} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bb4bd81b-1712-409a-b642-6208bcaa7a7a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.4893675} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"e68672033a507de1f5f4b087b7ec36fb","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:29.489270294Z"}]},"request_id":"bfed3e84-3390-4237-9979-b7c74d19a377","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836289.493621} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e68672033a507de1f5f4b087b7ec36fb","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e68672033a507de1f5f4b087b7ec36fb"} gateway-1 | {"time_local":"28/Aug/2024:09:11:29 +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":"e68672033a507de1f5f4b087b7ec36fb"} device-1 | {"level":"info","message":"POST /devices? 201 43ms","method":"POST","requestID":"e68672033a507de1f5f4b087b7ec36fb","responseTime":43,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MH0.8rm_NMEHgBct4UE3sO3SGA8pQE7-w2fQLD0dlFlVS1M","level":"info","message":"auth send jwt","requestID":"7e0fe03c6d61fdb11fe9e4e4181ce3b7"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7e0fe03c6d61fdb11fe9e4e4181ce3b7","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"7e0fe03c6d61fdb11fe9e4e4181ce3b7"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":384,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:30Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":384,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.67161,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:30Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7e0fe03c6d61fdb11fe9e4e4181ce3b7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836290,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MH0.8rm_NMEHgBct4UE3sO3SGA8pQE7-w2fQLD0dlFlVS1M"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7e0fe03c6d61fdb11fe9e4e4181ce3b7","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:29.489270294Z"}]},"request_id":"e8773233-8e3b-4773-80cd-715258ceb704","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836290.0613248} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7e0fe03c6d61fdb11fe9e4e4181ce3b7","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d68742ed-875b-4ef5-ba67-893b8204c82b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836290.0661497} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"7e0fe03c6d61fdb11fe9e4e4181ce3b7","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:29.489270294Z"}]},"request_id":"a65e331e-dc40-4e0c-a296-4bfcca70c3ba","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836290.0826735} gateway-1 | {"time_local":"28/Aug/2024:09:11:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61 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":"7e0fe03c6d61fdb11fe9e4e4181ce3b7"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"7e0fe03c6d61fdb11fe9e4e4181ce3b7"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"7e0fe03c6d61fdb11fe9e4e4181ce3b7","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"PATCH /devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61 200 34ms","method":"PATCH","requestID":"7e0fe03c6d61fdb11fe9e4e4181ce3b7","responseTime":34,"status":200,"url":"/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MH0.8rm_NMEHgBct4UE3sO3SGA8pQE7-w2fQLD0dlFlVS1M","level":"info","message":"auth send jwt","requestID":"ef7fedbfc8e06d47ef542ed7a67d949a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ef7fedbfc8e06d47ef542ed7a67d949a","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"ef7fedbfc8e06d47ef542ed7a67d949a"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":385,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:30Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":385,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.624195,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:30Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ef7fedbfc8e06d47ef542ed7a67d949a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836290,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MH0.8rm_NMEHgBct4UE3sO3SGA8pQE7-w2fQLD0dlFlVS1M"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ef7fedbfc8e06d47ef542ed7a67d949a","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"ef7fedbfc8e06d47ef542ed7a67d949a"} gateway-1 | {"time_local":"28/Aug/2024:09:11:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61/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":"ef7fedbfc8e06d47ef542ed7a67d949a"} device-1 | {"level":"info","message":"POST /devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61/websocket 200 16ms","method":"POST","requestID":"ef7fedbfc8e06d47ef542ed7a67d949a","responseTime":16,"status":200,"url":"/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2a2c3a80a554e28c5473c97f78b6cfe6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"2a2c3a80a554e28c5473c97f78b6cfe6","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/d0303f7a-cca6-42a8-911d-2310265b7497/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":"2a2c3a80a554e28c5473c97f78b6cfe6"} device-1 | {"level":"info","message":"OPTIONS /devices/d0303f7a-cca6-42a8-911d-2310265b7497/websocket 200 1ms","method":"OPTIONS","requestID":"2a2c3a80a554e28c5473c97f78b6cfe6","responseTime":1,"status":200,"url":"/devices/d0303f7a-cca6-42a8-911d-2310265b7497/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MX0.3iUGBsEXkmfN3m2D5Ey9_3_-WbUruP3CbJ0eYstprPI","level":"info","message":"auth send jwt","requestID":"e5a5cd77c6cbdc5d7b5012e906eaa0b3"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e5a5cd77c6cbdc5d7b5012e906eaa0b3","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"e5a5cd77c6cbdc5d7b5012e906eaa0b3"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":386,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":386,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.739635,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"e5a5cd77c6cbdc5d7b5012e906eaa0b3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836291,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MX0.3iUGBsEXkmfN3m2D5Ey9_3_-WbUruP3CbJ0eYstprPI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e5a5cd77c6cbdc5d7b5012e906eaa0b3","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"e5a5cd77c6cbdc5d7b5012e906eaa0b3"} gateway-1 | {"time_local":"28/Aug/2024:09:11:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/d0303f7a-cca6-42a8-911d-2310265b7497/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.044","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"e5a5cd77c6cbdc5d7b5012e906eaa0b3"} device-1 | {"level":"info","message":"POST /devices/d0303f7a-cca6-42a8-911d-2310265b7497/websocket 200 39ms","method":"POST","requestID":"e5a5cd77c6cbdc5d7b5012e906eaa0b3","responseTime":39,"status":200,"url":"/devices/d0303f7a-cca6-42a8-911d-2310265b7497/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MX0.3iUGBsEXkmfN3m2D5Ey9_3_-WbUruP3CbJ0eYstprPI","level":"info","message":"auth send jwt","requestID":"2a6eae76d26780476aaad303bbad7256"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"2a6eae76d26780476aaad303bbad7256","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2a6eae76d26780476aaad303bbad7256"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":387,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":387,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.264216,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"2a6eae76d26780476aaad303bbad7256","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836291,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MX0.3iUGBsEXkmfN3m2D5Ey9_3_-WbUruP3CbJ0eYstprPI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"2a6eae76d26780476aaad303bbad7256","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd0303f7a-cca6-42a8-911d-2310265b7497","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd0303f7a-cca6-42a8-911d-2310265b7497","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:29.439691263Z"}]},"request_id":"02248560-17b3-4019-b50a-38e4176dea53","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836291.5735917} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"2a6eae76d26780476aaad303bbad7256","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2a6eae76d26780476aaad303bbad7256"} gateway-1 | {"time_local":"28/Aug/2024:09:11:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d0303f7a-cca6-42a8-911d-2310265b7497? 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":"2a6eae76d26780476aaad303bbad7256"} device-1 | {"level":"info","message":"GET /devices/d0303f7a-cca6-42a8-911d-2310265b7497? 200 19ms","method":"GET","requestID":"2a6eae76d26780476aaad303bbad7256","responseTime":19,"status":200,"url":"/devices/d0303f7a-cca6-42a8-911d-2310265b7497?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MX0.3iUGBsEXkmfN3m2D5Ey9_3_-WbUruP3CbJ0eYstprPI","level":"info","message":"auth send jwt","requestID":"db5f4c9ec1db42984c0764b6d4314653"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"db5f4c9ec1db42984c0764b6d4314653","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"db5f4c9ec1db42984c0764b6d4314653"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":388,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":388,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.196135,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"db5f4c9ec1db42984c0764b6d4314653","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836291,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MX0.3iUGBsEXkmfN3m2D5Ey9_3_-WbUruP3CbJ0eYstprPI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"db5f4c9ec1db42984c0764b6d4314653","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:29.489270294Z"}]},"request_id":"32733cfa-181b-4bf1-9fc5-ec0e02098f4a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836291.599173} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"db5f4c9ec1db42984c0764b6d4314653","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"db5f4c9ec1db42984c0764b6d4314653"} gateway-1 | {"time_local":"28/Aug/2024:09:11:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61? 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":"db5f4c9ec1db42984c0764b6d4314653"} device-1 | {"level":"info","message":"GET /devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61? 200 18ms","method":"GET","requestID":"db5f4c9ec1db42984c0764b6d4314653","responseTime":18,"status":200,"url":"/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MX0.3iUGBsEXkmfN3m2D5Ey9_3_-WbUruP3CbJ0eYstprPI","level":"info","message":"auth send jwt","requestID":"eed374625fca01e17304afbcf7f83d0a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"eed374625fca01e17304afbcf7f83d0a","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"eed374625fca01e17304afbcf7f83d0a"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":389,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":389,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":1.186273,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"eed374625fca01e17304afbcf7f83d0a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836291,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MX0.3iUGBsEXkmfN3m2D5Ey9_3_-WbUruP3CbJ0eYstprPI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"eed374625fca01e17304afbcf7f83d0a","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635"},"level":"info","message":"Attempting to run experiment","requestID":"eed374625fca01e17304afbcf7f83d0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635"},"level":"info","message":"Attempting to book experiment","requestID":"eed374625fca01e17304afbcf7f83d0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635"},"level":"info","message":"Successfully booked experiment","requestID":"eed374625fca01e17304afbcf7f83d0a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"841acaa0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"841af1b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":390,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":390,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.157692,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":391,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"841acaa0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836291,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MX0.3iUGBsEXkmfN3m2D5Ey9_3_-WbUruP3CbJ0eYstprPI"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"841acaa0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":391,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.179548,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"841af1b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836291,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MX0.3iUGBsEXkmfN3m2D5Ey9_3_-WbUruP3CbJ0eYstprPI"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"841af1b0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd0303f7a-cca6-42a8-911d-2310265b7497","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd0303f7a-cca6-42a8-911d-2310265b7497","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:29.439691263Z"}]},"request_id":"6df08a37-8806-44a9-a97b-7db01c2b87a2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836291.6685927} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"841acaa0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:29.489270294Z"}]},"request_id":"0a93aa16-4f6e-41fa-9cac-6cddca1cb9a1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836291.6700609} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"841af1b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"841acaa0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/d0303f7a-cca6-42a8-911d-2310265b7497? 200 16ms","method":"GET","requestID":"841acaa0-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/d0303f7a-cca6-42a8-911d-2310265b7497?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"841af1b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61? 200 16ms","method":"GET","requestID":"841af1b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635"},"level":"info","message":"Setting up experiment","requestID":"eed374625fca01e17304afbcf7f83d0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"eed374625fca01e17304afbcf7f83d0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635"},"level":"info","message":"Successfully locked booking for experiment","requestID":"eed374625fca01e17304afbcf7f83d0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"eed374625fca01e17304afbcf7f83d0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"eed374625fca01e17304afbcf7f83d0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635"},"level":"info","message":"Attempting to update booking for experiment","requestID":"eed374625fca01e17304afbcf7f83d0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635"},"level":"info","message":"Successfully updated booking for experiment","requestID":"eed374625fca01e17304afbcf7f83d0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635"},"level":"info","message":"Successfully set up experiment","requestID":"eed374625fca01e17304afbcf7f83d0a"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8425c720-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"84261540-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"84266360-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Received request.","req_id":392,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":393,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"client_addr":"127.0.0.1:34692","level":"info","msg":"Sent response.","req_id":392,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.519116,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:31Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635"},"level":"info","message":"Successfully running experiment","requestID":"eed374625fca01e17304afbcf7f83d0a"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8425c720-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836291,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MX0.3iUGBsEXkmfN3m2D5Ey9_3_-WbUruP3CbJ0eYstprPI"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"8425c720-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":393,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.855102,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"84261540-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836291,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MX0.3iUGBsEXkmfN3m2D5Ey9_3_-WbUruP3CbJ0eYstprPI"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"84261540-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Received request.","req_id":394,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd0303f7a-cca6-42a8-911d-2310265b7497","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd0303f7a-cca6-42a8-911d-2310265b7497","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:29.439691263Z"}]},"request_id":"f3847815-b36b-44bf-b0d4-c575be21f6ea","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836291.7481613} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8425c720-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:29.489270294Z"}]},"request_id":"2256f1c2-de99-4612-b73f-48fb9aead5a7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836291.749836} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd0303f7a-cca6-42a8-911d-2310265b7497","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0efcfb1a-7035-4168-aace-75dffcfe4a3d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836291.7505639} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"84261540-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Sent response.","req_id":394,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.724426,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"84266360-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 16ms","method":"POST","requestID":"84266360-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8425c720-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/d0303f7a-cca6-42a8-911d-2310265b7497? 200 29ms","method":"GET","requestID":"8425c720-651d-11ef-83ce-bd5a3df00b5c","responseTime":29,"status":200,"url":"/devices/d0303f7a-cca6-42a8-911d-2310265b7497?"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbf4f47ce-3203-475b-9047-236e28ea6635#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbf4f47ce-3203-475b-9047-236e28ea6635","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"db557ca8-7323-473a-8d31-0d17a46d7544","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836291.7594829} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"84261540-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7911e858-aac1-44e6-9d3a-4247ea59c29e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836291.7599223} device-1 | {"level":"info","message":"GET /devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61? 200 29ms","method":"GET","requestID":"84261540-651d-11ef-83ce-bd5a3df00b5c","responseTime":29,"status":200,"url":"/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"84266360-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"eed374625fca01e17304afbcf7f83d0a","responseTime":20,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"POST /devices/d0303f7a-cca6-42a8-911d-2310265b7497/signaling 200 28ms","method":"POST","requestID":"84266360-651d-11ef-83ce-bd5a3df00b5c","responseTime":28,"status":200,"url":"/devices/d0303f7a-cca6-42a8-911d-2310265b7497/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"842af740-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Received request.","req_id":395,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd0303f7a-cca6-42a8-911d-2310265b7497","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9066099a-b3ff-4584-872f-2da970cba392","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836291.7705083} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Sent response.","req_id":395,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.459572,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:31Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"842c08b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"842af740-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"842af740-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Received request.","req_id":396,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:31Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"eed374625fca01e17304afbcf7f83d0a"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3d556633-784a-4297-8171-53190a3e5dca","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836291.7764113} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"842af740-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"level":"info","message":"POST /experiments? 201 164ms","method":"POST","requestID":"eed374625fca01e17304afbcf7f83d0a","responseTime":164,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Sent response.","req_id":396,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.215125,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:31Z"} device-1 | {"level":"info","message":"POST /devices/d0303f7a-cca6-42a8-911d-2310265b7497/signaling 200 12ms","method":"POST","requestID":"842af740-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/d0303f7a-cca6-42a8-911d-2310265b7497/signaling"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"842c08b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"842c08b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"28/Aug/2024:09:11:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1291","request_time":"0.170","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"eed374625fca01e17304afbcf7f83d0a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"842d8f50-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MX0.3iUGBsEXkmfN3m2D5Ey9_3_-WbUruP3CbJ0eYstprPI","level":"info","message":"auth send jwt","requestID":"fb7b84bc1eae0cf1039b1b219f41e953"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"fb7b84bc1eae0cf1039b1b219f41e953","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"fb7b84bc1eae0cf1039b1b219f41e953"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Received request.","req_id":397,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:31Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"842c08b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61/signaling 200 16ms","method":"POST","requestID":"842c08b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"200b53a9-c078-4efc-a2ed-8a8aaebab8df","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836291.7867794} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":398,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Sent response.","req_id":397,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.801736,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"842d8f50-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"842d8f50-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":398,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.803679,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"fb7b84bc1eae0cf1039b1b219f41e953","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836291,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MX0.3iUGBsEXkmfN3m2D5Ey9_3_-WbUruP3CbJ0eYstprPI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fb7b84bc1eae0cf1039b1b219f41e953","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"842d8f50-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61/signaling 200 15ms","method":"POST","requestID":"842d8f50-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61/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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd0303f7a-cca6-42a8-911d-2310265b7497","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd0303f7a-cca6-42a8-911d-2310265b7497","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:29.439691263Z"}]},"request_id":"64043c93-b6c7-4db0-9644-2d651a3275df","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836291.7966673} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"fb7b84bc1eae0cf1039b1b219f41e953","responseTime":3,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"eed374625fca01e17304afbcf7f83d0a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635"},"level":"info","message":"Building connection plan","requestID":"eed374625fca01e17304afbcf7f83d0a"} 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":"afe326d4-e154-467c-abb2-443d16d91f02"},{"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":"e9cb9d76-1b8a-4b73-a2f6-eb2f393932f6"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"b01f2a32-efd3-44e2-b8ae-af65bb62e970"}]},"level":"info","message":"Built pairwise service configurations","requestID":"eed374625fca01e17304afbcf7f83d0a"} 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/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61"},{"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/d0303f7a-cca6-42a8-911d-2310265b7497"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"eed374625fca01e17304afbcf7f83d0a"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"84307580-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"fb7b84bc1eae0cf1039b1b219f41e953"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":399,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:31Z"} gateway-1 | {"time_local":"28/Aug/2024:09:11:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d0303f7a-cca6-42a8-911d-2310265b7497? 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":"fb7b84bc1eae0cf1039b1b219f41e953"} device-1 | {"level":"info","message":"GET /devices/d0303f7a-cca6-42a8-911d-2310265b7497? 200 19ms","method":"GET","requestID":"fb7b84bc1eae0cf1039b1b219f41e953","responseTime":19,"status":200,"url":"/devices/d0303f7a-cca6-42a8-911d-2310265b7497?"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":399,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.91521,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"84307580-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836291,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MX0.3iUGBsEXkmfN3m2D5Ey9_3_-WbUruP3CbJ0eYstprPI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"84307580-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MX0.3iUGBsEXkmfN3m2D5Ey9_3_-WbUruP3CbJ0eYstprPI","level":"info","message":"auth send jwt","requestID":"7ad4904155b7e19a63e1ef9b298b5c38"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"7ad4904155b7e19a63e1ef9b298b5c38","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7ad4904155b7e19a63e1ef9b298b5c38"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"b0161c8c-d46b-4374-ae63-b0682d869d38","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836291.8144884} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9f485618-820b-4e53-8715-b447d764dfa4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836291.814676} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"84307580-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":400,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":400,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.953163,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7ad4904155b7e19a63e1ef9b298b5c38","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836291,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5MX0.3iUGBsEXkmfN3m2D5Ey9_3_-WbUruP3CbJ0eYstprPI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7ad4904155b7e19a63e1ef9b298b5c38","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:29.489270294Z"}]},"request_id":"7c0bb5cf-17ae-43a5-9af9-b54e7cee6ee0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836291.8216307} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7ad4904155b7e19a63e1ef9b298b5c38","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"84307580-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"84307580-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/f33d2bc5-fd31-4296-a329-ec179b14757a'","requestID":"84307580-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/f33d2bc5-fd31-4296-a329-ec179b14757a'","requestID":"84307580-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"84307580-651d-11ef-83ce-bd5a3df00b5c"} 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":"84307580-651d-11ef-83ce-bd5a3df00b5c","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":"7ad4904155b7e19a63e1ef9b298b5c38"} gateway-1 | {"time_local":"28/Aug/2024:09:11:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61? 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":"7ad4904155b7e19a63e1ef9b298b5c38"} device-1 | {"level":"info","message":"GET /devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61? 200 22ms","method":"GET","requestID":"7ad4904155b7e19a63e1ef9b298b5c38","responseTime":22,"status":200,"url":"/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61?"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"84307580-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/f33d2bc5-fd31-4296-a329-ec179b14757a","device":"d0303f7a-cca6-42a8-911d-2310265b7497","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/bf4f47ce-3203-475b-9047-236e28ea6635"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"eed374625fca01e17304afbcf7f83d0a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8439c450-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":401,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd0303f7a-cca6-42a8-911d-2310265b7497","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e147d0c0-a0f6-40a0-a7f2-9d0e6c9f3b0c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836291.8667753} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":401,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.807103,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8439c450-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"8439c450-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8439c450-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/d0303f7a-cca6-42a8-911d-2310265b7497/signaling 200 10ms","method":"POST","requestID":"8439c450-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/d0303f7a-cca6-42a8-911d-2310265b7497/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"843b9910-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":402,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ff897e8b-aef8-463f-b50f-b50aa8efda00","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836291.878081} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":402,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.579036,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"843b9910-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"843b9910-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"843b9910-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61/signaling 200 11ms","method":"POST","requestID":"843b9910-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61/signaling"} device-1 | {"device":"d0303f7a-cca6-42a8-911d-2310265b7497","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"d0303f7a-cca6-42a8-911d-2310265b7497","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 1852811132515671877 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:TpRy\r\na=ice-pwd:cAAgToDQd7JBLkH9T8j72QZl\r\na=ice-options:trickle\r\na=fingerprint:sha-256 5A:72:F0:66:BE:67:31:DE:A2:C7:93:89:72:A9:BC:19:25:47:E7:7D:6D:52:4A:38:A4:5E:45:FC:EE:05:A1: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":"d0303f7a-cca6-42a8-911d-2310265b7497","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"device":"d0303f7a-cca6-42a8-911d-2310265b7497","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","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":"f33d2bc5-fd31-4296-a329-ec179b14757a","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","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":"0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","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":"0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","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":"0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","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/f33d2bc5-fd31-4296-a329-ec179b14757a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f33d2bc5-fd31-4296-a329-ec179b14757a","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f63a8d7d5225b4844f459d89453fcaf3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f63a8d7d5225b4844f459d89453fcaf3","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/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61"},{"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/d0303f7a-cca6-42a8-911d-2310265b7497"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/f33d2bc5-fd31-4296-a329-ec179b14757a"}}},"level":"info","message":"received a callback","requestID":"f63a8d7d5225b4844f459d89453fcaf3"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 7ms","method":"POST","requestID":"f63a8d7d5225b4844f459d89453fcaf3","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.011","http_referrer":"","http_user_agent":"node-fetch","requestID":"f63a8d7d5225b4844f459d89453fcaf3"} device-1 | {"content":{"candidate":"candidate:4002118051 1 udp 2113937151 23212437-ad4e-441a-8a3d-75807aa8ffea.local 56077 typ host generation 0 ufrag TpRy network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"d0303f7a-cca6-42a8-911d-2310265b7497","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3690828782 1 udp 1677729535 141.24.211.56 56077 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag TpRy network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"d0303f7a-cca6-42a8-911d-2310265b7497","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:4233523612 1 udp 33562623 141.24.210.113 62879 typ relay raddr 141.24.211.56 rport 56077 generation 0 ufrag TpRy network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"d0303f7a-cca6-42a8-911d-2310265b7497","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"d0303f7a-cca6-42a8-911d-2310265b7497","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/d0303f7a-cca6-42a8-911d-2310265b7497'"} device-1 | {"data":{"peerconnection":"f33d2bc5-fd31-4296-a329-ec179b14757a","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497'"} device-1 | {"device":"0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","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":"d0303f7a-cca6-42a8-911d-2310265b7497","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","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":"f33d2bc5-fd31-4296-a329-ec179b14757a","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/f33d2bc5-fd31-4296-a329-ec179b14757a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f33d2bc5-fd31-4296-a329-ec179b14757a","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"07d13d98e4ecc0be75a4804a2e7ee6a4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"07d13d98e4ecc0be75a4804a2e7ee6a4","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/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61"},{"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/d0303f7a-cca6-42a8-911d-2310265b7497"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/f33d2bc5-fd31-4296-a329-ec179b14757a"}}},"level":"info","message":"received a callback","requestID":"07d13d98e4ecc0be75a4804a2e7ee6a4"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"8578acf0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":403,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:33Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff33d2bc5-fd31-4296-a329-ec179b14757a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4ffe5d95-8232-4429-98ab-7641bfd13342","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836293.9562001} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":403,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.265318,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:33Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/f33d2bc5-fd31-4296-a329-ec179b14757a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8578acf0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/f33d2bc5-fd31-4296-a329-ec179b14757a","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":"8578acf0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"8578acf0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/f33d2bc5-fd31-4296-a329-ec179b14757a 200 9ms","method":"GET","requestID":"8578acf0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/peerconnections/f33d2bc5-fd31-4296-a329-ec179b14757a"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 40ms","method":"POST","requestID":"07d13d98e4ecc0be75a4804a2e7ee6a4","responseTime":40,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.042","http_referrer":"","http_user_agent":"node-fetch","requestID":"07d13d98e4ecc0be75a4804a2e7ee6a4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"857ddd10-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":404,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:33Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f7de4c3f-370f-4b46-a432-2af23ea8af44","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836293.989231} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":404,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.438886,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:33Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"857ddd10-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"857ddd10-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"857ddd10-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61/signaling 200 9ms","method":"POST","requestID":"857ddd10-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"857f8ac0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":405,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:33Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd0303f7a-cca6-42a8-911d-2310265b7497","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5ae7a786-a605-4fb5-aca7-1e1880b2860f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836294.001879} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":405,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.415314,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:34Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"857f8ac0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"857f8ac0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"857f8ac0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/d0303f7a-cca6-42a8-911d-2310265b7497/signaling 200 10ms","method":"POST","requestID":"857f8ac0-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/d0303f7a-cca6-42a8-911d-2310265b7497/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5NH0.HmaTCBAOkmVufhexOtU_a530DjRMVpq4W3HHSurq3_0","level":"info","message":"auth send jwt","requestID":"9e6a800fd1632297db7db7851cab6b02"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9e6a800fd1632297db7db7851cab6b02","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/bf4f47ce-3203-475b-9047-236e28ea6635","requestID":"9e6a800fd1632297db7db7851cab6b02"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":406,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:34Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":406,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.77691,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:34Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9e6a800fd1632297db7db7851cab6b02","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836294,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5NH0.HmaTCBAOkmVufhexOtU_a530DjRMVpq4W3HHSurq3_0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9e6a800fd1632297db7db7851cab6b02","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/bf4f47ce-3203-475b-9047-236e28ea6635","requestID":"9e6a800fd1632297db7db7851cab6b02"} gateway-1 | {"time_local":"28/Aug/2024:09:11:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/bf4f47ce-3203-475b-9047-236e28ea6635 HTTP/1.1","status": "200","body_bytes_sent":"1364","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9e6a800fd1632297db7db7851cab6b02"} experiment-1 | {"level":"info","message":"GET /experiments/bf4f47ce-3203-475b-9047-236e28ea6635 200 12ms","method":"GET","requestID":"9e6a800fd1632297db7db7851cab6b02","responseTime":12,"status":200,"url":"/experiments/bf4f47ce-3203-475b-9047-236e28ea6635"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5NH0.HmaTCBAOkmVufhexOtU_a530DjRMVpq4W3HHSurq3_0","level":"info","message":"auth send jwt","requestID":"c495e2ef8100cf8ac8a9c9502bcc612a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c495e2ef8100cf8ac8a9c9502bcc612a","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/bf4f47ce-3203-475b-9047-236e28ea6635","requestID":"c495e2ef8100cf8ac8a9c9502bcc612a"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":407,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:34Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":407,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.800842,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:34Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"c495e2ef8100cf8ac8a9c9502bcc612a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836294,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5NH0.HmaTCBAOkmVufhexOtU_a530DjRMVpq4W3HHSurq3_0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c495e2ef8100cf8ac8a9c9502bcc612a","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635"},"level":"info","message":"Attempting to finish experiment","requestID":"c495e2ef8100cf8ac8a9c9502bcc612a"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"858927b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":408,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:34Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":408,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.951809,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:34Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/f33d2bc5-fd31-4296-a329-ec179b14757a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"858927b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/f33d2bc5-fd31-4296-a329-ec179b14757a","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836294,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5NH0.HmaTCBAOkmVufhexOtU_a530DjRMVpq4W3HHSurq3_0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"858927b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/f33d2bc5-fd31-4296-a329-ec179b14757a","device":"d0303f7a-cca6-42a8-911d-2310265b7497","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","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":"0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","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":"0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","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/f33d2bc5-fd31-4296-a329-ec179b14757a' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/f33d2bc5-fd31-4296-a329-ec179b14757a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"f33d2bc5-fd31-4296-a329-ec179b14757a","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff33d2bc5-fd31-4296-a329-ec179b14757a': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Ff33d2bc5-fd31-4296-a329-ec179b14757a","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"5b3a60cb-efac-465f-bcad-a9bfb650a311","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836294.0765316} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9578e34e-23d3-4ced-a2aa-b1840426cb7f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836294.076751} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8ac650112635946257a4c6bdad046e10","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"858927b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"8ac650112635946257a4c6bdad046e10","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"263ef22a2aec1dc3f5cc1b9cf19391b7","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61"},{"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/d0303f7a-cca6-42a8-911d-2310265b7497"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/f33d2bc5-fd31-4296-a329-ec179b14757a"}}},"level":"info","message":"received a callback","requestID":"8ac650112635946257a4c6bdad046e10"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"263ef22a2aec1dc3f5cc1b9cf19391b7","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":"closed","url":"http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61"},{"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/d0303f7a-cca6-42a8-911d-2310265b7497"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/f33d2bc5-fd31-4296-a329-ec179b14757a"}}},"level":"info","message":"received a callback","requestID":"263ef22a2aec1dc3f5cc1b9cf19391b7"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"858927b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/f33d2bc5-fd31-4296-a329-ec179b14757a 204 37ms","method":"DELETE","requestID":"858927b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":37,"status":204,"url":"/peerconnections/f33d2bc5-fd31-4296-a329-ec179b14757a"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf4f47ce-3203-475b-9047-236e28ea6635"},"level":"info","message":"Successfully finished experiment","requestID":"c495e2ef8100cf8ac8a9c9502bcc612a"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8591b330-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":409,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:34Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bb3a5c58-7b4d-40e5-8c95-4ad59053adc3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836294.120407} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":409,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.521934,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:34Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8591b330-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8591b330-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8591b330-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61/signaling 200 10ms","method":"POST","requestID":"8591b330-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8593af00-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":410,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:34Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd0303f7a-cca6-42a8-911d-2310265b7497","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4d534839-02d8-41eb-be91-430689a4ad7c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836294.1327252} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbf4f47ce-3203-475b-9047-236e28ea6635': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbf4f47ce-3203-475b-9047-236e28ea6635","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"ccf4d6d0-e66f-4ef6-9819-4561d7467819","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836294.1329808} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9e45d9bd-6934-4c9d-ae72-348f061b752c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836294.133379} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":410,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.669448,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:34Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8593af00-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d0303f7a-cca6-42a8-911d-2310265b7497","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"8593af00-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"c495e2ef8100cf8ac8a9c9502bcc612a","responseTime":23,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8593af00-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/d0303f7a-cca6-42a8-911d-2310265b7497/signaling 200 10ms","method":"POST","requestID":"8593af00-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/d0303f7a-cca6-42a8-911d-2310265b7497/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/bf4f47ce-3203-475b-9047-236e28ea6635","requestID":"c495e2ef8100cf8ac8a9c9502bcc612a"} gateway-1 | {"time_local":"28/Aug/2024:09:11:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/bf4f47ce-3203-475b-9047-236e28ea6635 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.160","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c495e2ef8100cf8ac8a9c9502bcc612a"} experiment-1 | {"level":"info","message":"DELETE /experiments/bf4f47ce-3203-475b-9047-236e28ea6635 204 157ms","method":"DELETE","requestID":"c495e2ef8100cf8ac8a9c9502bcc612a","responseTime":157,"status":204,"url":"/experiments/bf4f47ce-3203-475b-9047-236e28ea6635"} gateway-1 | {"time_local":"28/Aug/2024:09:11:34 +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.094","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"a258484a85d37060b1233618a41bca20"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 127ms","method":"POST","requestID":"8ac650112635946257a4c6bdad046e10","responseTime":127,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.130","http_referrer":"","http_user_agent":"node-fetch","requestID":"8ac650112635946257a4c6bdad046e10"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 126ms","method":"POST","requestID":"263ef22a2aec1dc3f5cc1b9cf19391b7","responseTime":126,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.131","http_referrer":"","http_user_agent":"node-fetch","requestID":"263ef22a2aec1dc3f5cc1b9cf19391b7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5NH0.HmaTCBAOkmVufhexOtU_a530DjRMVpq4W3HHSurq3_0","level":"info","message":"auth send jwt","requestID":"1c56e93974c5e3444f3d1c0f5c9b3645"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1c56e93974c5e3444f3d1c0f5c9b3645","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"1c56e93974c5e3444f3d1c0f5c9b3645"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":411,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:34Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":411,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.894707,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:34Z"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/0aec2a1f-60cd-4474-bcb3-d0f0e5ab0a61' closed"} gateway-1 | {"time_local":"28/Aug/2024:09:11:34 +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.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":"589721c489755f65c3081471cd80ed6a"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"1c56e93974c5e3444f3d1c0f5c9b3645","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836294,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5NH0.HmaTCBAOkmVufhexOtU_a530DjRMVpq4W3HHSurq3_0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1c56e93974c5e3444f3d1c0f5c9b3645","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F966745c5-c1e6-4ef1-8fe2-ad765393b035","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"eeb1a2a9-d6dc-4269-8837-ac3e10a4b43f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836294.2324684} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1c56e93974c5e3444f3d1c0f5c9b3645","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"04402155-f0b0-48ba-a122-e565a077c461","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836294.2380946} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"1c56e93974c5e3444f3d1c0f5c9b3645","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/d0303f7a-cca6-42a8-911d-2310265b7497' closed"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F966745c5-c1e6-4ef1-8fe2-ad765393b035","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"a0f29096-43bc-4f71-a447-52ad9f196311","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836294.2500784} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5adebf8f-bb88-4bdb-a70f-ba586617b838","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836294.2501433} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"1c56e93974c5e3444f3d1c0f5c9b3645","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F966745c5-c1e6-4ef1-8fe2-ad765393b035","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F966745c5-c1e6-4ef1-8fe2-ad765393b035","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:34.250051034Z"}]},"request_id":"a943e22b-e1fd-486f-a37d-c50ddee22fe9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836294.2543893} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1c56e93974c5e3444f3d1c0f5c9b3645","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"1c56e93974c5e3444f3d1c0f5c9b3645"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.052","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1c56e93974c5e3444f3d1c0f5c9b3645"} device-1 | {"level":"info","message":"POST /devices? 201 46ms","method":"POST","requestID":"1c56e93974c5e3444f3d1c0f5c9b3645","responseTime":46,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5NH0.HmaTCBAOkmVufhexOtU_a530DjRMVpq4W3HHSurq3_0","level":"info","message":"auth send jwt","requestID":"88bc9f69d42b8ebadd5db84a3d751cea"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"88bc9f69d42b8ebadd5db84a3d751cea","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"88bc9f69d42b8ebadd5db84a3d751cea"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":412,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:34Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":412,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.45651,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:34Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"88bc9f69d42b8ebadd5db84a3d751cea","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836294,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5NH0.HmaTCBAOkmVufhexOtU_a530DjRMVpq4W3HHSurq3_0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"88bc9f69d42b8ebadd5db84a3d751cea","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"b6928edb-bffa-43ed-90af-6988b07c4331","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836294.278668} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"88bc9f69d42b8ebadd5db84a3d751cea","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"04d76a18-93e0-4c67-bf6e-fa39e15d0c8a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836294.2847798} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"88bc9f69d42b8ebadd5db84a3d751cea","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"3dee02f9-f45b-4e93-b10c-47c588c8841e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836294.295008} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"03d24d8b-fd31-44dd-9d07-bd09cf6a6bb0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836294.2951562} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"88bc9f69d42b8ebadd5db84a3d751cea","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:34.294978212Z"}]},"request_id":"166e46b7-7685-434d-a8d9-7b5719c4a824","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836294.2998943} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"88bc9f69d42b8ebadd5db84a3d751cea","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"88bc9f69d42b8ebadd5db84a3d751cea"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.045","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"88bc9f69d42b8ebadd5db84a3d751cea"} device-1 | {"level":"info","message":"POST /devices? 201 41ms","method":"POST","requestID":"88bc9f69d42b8ebadd5db84a3d751cea","responseTime":41,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5NH0.HmaTCBAOkmVufhexOtU_a530DjRMVpq4W3HHSurq3_0","level":"info","message":"auth send jwt","requestID":"c18c04c8fa52826ab10a799811451e32"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c18c04c8fa52826ab10a799811451e32","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"c18c04c8fa52826ab10a799811451e32"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":413,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:34Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":413,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.746134,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:34Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"c18c04c8fa52826ab10a799811451e32","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836294,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5NH0.HmaTCBAOkmVufhexOtU_a530DjRMVpq4W3HHSurq3_0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c18c04c8fa52826ab10a799811451e32","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:34.294978212Z"}]},"request_id":"465f5ff2-458f-425d-aa9a-de619d6d8a85","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836294.8829558} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c18c04c8fa52826ab10a799811451e32","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a9f69d04-7a03-4bb5-9f0b-54d33d89886b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836294.8876667} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"c18c04c8fa52826ab10a799811451e32","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:34.294978212Z"}]},"request_id":"6beaa1c8-503f-4244-a10d-8a6398d6799c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836294.9157207} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c18c04c8fa52826ab10a799811451e32","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"c18c04c8fa52826ab10a799811451e32"} device-1 | {"level":"info","message":"PATCH /devices/8686f783-8d41-40dc-b371-f16cf253864d 200 43ms","method":"PATCH","requestID":"c18c04c8fa52826ab10a799811451e32","responseTime":43,"status":200,"url":"/devices/8686f783-8d41-40dc-b371-f16cf253864d"} gateway-1 | {"time_local":"28/Aug/2024:09:11:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/8686f783-8d41-40dc-b371-f16cf253864d HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.047","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"c18c04c8fa52826ab10a799811451e32"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5NH0.HmaTCBAOkmVufhexOtU_a530DjRMVpq4W3HHSurq3_0","level":"info","message":"auth send jwt","requestID":"d638ae8d46d8d960ed7bf31cce6a875a"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d638ae8d46d8d960ed7bf31cce6a875a","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"d638ae8d46d8d960ed7bf31cce6a875a"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":414,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:34Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":414,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.960561,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:34Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"d638ae8d46d8d960ed7bf31cce6a875a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836294,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5NH0.HmaTCBAOkmVufhexOtU_a530DjRMVpq4W3HHSurq3_0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d638ae8d46d8d960ed7bf31cce6a875a","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"d638ae8d46d8d960ed7bf31cce6a875a"} gateway-1 | {"time_local":"28/Aug/2024:09:11:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/8686f783-8d41-40dc-b371-f16cf253864d/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":"d638ae8d46d8d960ed7bf31cce6a875a"} device-1 | {"level":"info","message":"POST /devices/8686f783-8d41-40dc-b371-f16cf253864d/websocket 200 20ms","method":"POST","requestID":"d638ae8d46d8d960ed7bf31cce6a875a","responseTime":20,"status":200,"url":"/devices/8686f783-8d41-40dc-b371-f16cf253864d/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4fd10f71f22250f28de823a511fc6750","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"4fd10f71f22250f28de823a511fc6750","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/966745c5-c1e6-4ef1-8fe2-ad765393b035/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":"4fd10f71f22250f28de823a511fc6750"} device-1 | {"level":"info","message":"OPTIONS /devices/966745c5-c1e6-4ef1-8fe2-ad765393b035/websocket 200 1ms","method":"OPTIONS","requestID":"4fd10f71f22250f28de823a511fc6750","responseTime":1,"status":200,"url":"/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5Nn0.ucxM8kpLemnzHvR-YyA1sWl-bGMrOn7w9eYYX-YUyZU","level":"info","message":"auth send jwt","requestID":"750a285d966f83655d8d98fe5a16c13d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"750a285d966f83655d8d98fe5a16c13d","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"750a285d966f83655d8d98fe5a16c13d"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":415,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":415,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.149652,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"750a285d966f83655d8d98fe5a16c13d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836296,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5Nn0.ucxM8kpLemnzHvR-YyA1sWl-bGMrOn7w9eYYX-YUyZU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"750a285d966f83655d8d98fe5a16c13d","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"750a285d966f83655d8d98fe5a16c13d"} gateway-1 | {"time_local":"28/Aug/2024:09:11:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/966745c5-c1e6-4ef1-8fe2-ad765393b035/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.044","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"750a285d966f83655d8d98fe5a16c13d"} device-1 | {"level":"info","message":"POST /devices/966745c5-c1e6-4ef1-8fe2-ad765393b035/websocket 200 38ms","method":"POST","requestID":"750a285d966f83655d8d98fe5a16c13d","responseTime":38,"status":200,"url":"/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5Nn0.ucxM8kpLemnzHvR-YyA1sWl-bGMrOn7w9eYYX-YUyZU","level":"info","message":"auth send jwt","requestID":"6aed11653a9778a40e3d2e3062c2c1ac"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6aed11653a9778a40e3d2e3062c2c1ac","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6aed11653a9778a40e3d2e3062c2c1ac"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":416,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":416,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.697172,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6aed11653a9778a40e3d2e3062c2c1ac","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836296,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5Nn0.ucxM8kpLemnzHvR-YyA1sWl-bGMrOn7w9eYYX-YUyZU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"6aed11653a9778a40e3d2e3062c2c1ac","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F966745c5-c1e6-4ef1-8fe2-ad765393b035","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F966745c5-c1e6-4ef1-8fe2-ad765393b035","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:34.250051034Z"}]},"request_id":"b9a1e682-7e74-464e-8492-fcd28b8af394","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836296.3388662} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"6aed11653a9778a40e3d2e3062c2c1ac","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6aed11653a9778a40e3d2e3062c2c1ac"} device-1 | {"level":"info","message":"GET /devices/966745c5-c1e6-4ef1-8fe2-ad765393b035? 200 12ms","method":"GET","requestID":"6aed11653a9778a40e3d2e3062c2c1ac","responseTime":12,"status":200,"url":"/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035?"} gateway-1 | {"time_local":"28/Aug/2024:09:11:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/966745c5-c1e6-4ef1-8fe2-ad765393b035? 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":"6aed11653a9778a40e3d2e3062c2c1ac"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5Nn0.ucxM8kpLemnzHvR-YyA1sWl-bGMrOn7w9eYYX-YUyZU","level":"info","message":"auth send jwt","requestID":"a2adeaa606845b63d38da24d709e348e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a2adeaa606845b63d38da24d709e348e","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a2adeaa606845b63d38da24d709e348e"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":417,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":417,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.697736,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a2adeaa606845b63d38da24d709e348e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836296,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5Nn0.ucxM8kpLemnzHvR-YyA1sWl-bGMrOn7w9eYYX-YUyZU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a2adeaa606845b63d38da24d709e348e","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:34.294978212Z"}]},"request_id":"5a54db7c-5ff5-4d5d-8702-1def0609f8d7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836296.3560872} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a2adeaa606845b63d38da24d709e348e","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a2adeaa606845b63d38da24d709e348e"} gateway-1 | {"time_local":"28/Aug/2024:09:11:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8686f783-8d41-40dc-b371-f16cf253864d? 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":"a2adeaa606845b63d38da24d709e348e"} device-1 | {"level":"info","message":"GET /devices/8686f783-8d41-40dc-b371-f16cf253864d? 200 13ms","method":"GET","requestID":"a2adeaa606845b63d38da24d709e348e","responseTime":13,"status":200,"url":"/devices/8686f783-8d41-40dc-b371-f16cf253864d?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5Nn0.ucxM8kpLemnzHvR-YyA1sWl-bGMrOn7w9eYYX-YUyZU","level":"info","message":"auth send jwt","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":418,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":418,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.885729,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"d4e80f6a11510f9be44d7c0bdefc6d78","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836296,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5Nn0.ucxM8kpLemnzHvR-YyA1sWl-bGMrOn7w9eYYX-YUyZU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828"},"level":"info","message":"Attempting to run experiment","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828"},"level":"info","message":"Attempting to book experiment","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828"},"level":"info","message":"Successfully booked experiment","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"86ee5d00-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"86eeab20-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":419,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":419,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.672813,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Received request.","req_id":420,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"86ee5d00-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836296,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5Nn0.ucxM8kpLemnzHvR-YyA1sWl-bGMrOn7w9eYYX-YUyZU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"86ee5d00-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Sent response.","req_id":420,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.607755,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"86eeab20-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836296,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5Nn0.ucxM8kpLemnzHvR-YyA1sWl-bGMrOn7w9eYYX-YUyZU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"86eeab20-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F966745c5-c1e6-4ef1-8fe2-ad765393b035","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F966745c5-c1e6-4ef1-8fe2-ad765393b035","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:34.250051034Z"}]},"request_id":"b98d2e06-ada1-4263-8010-0f66154010e9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836296.4102113} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"86ee5d00-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:34.294978212Z"}]},"request_id":"94f68911-a347-4f8a-b2a9-558ab6038acb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836296.411342} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"86eeab20-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"86ee5d00-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/966745c5-c1e6-4ef1-8fe2-ad765393b035? 200 17ms","method":"GET","requestID":"86ee5d00-651d-11ef-83ce-bd5a3df00b5c","responseTime":17,"status":200,"url":"/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"86eeab20-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/8686f783-8d41-40dc-b371-f16cf253864d? 200 16ms","method":"GET","requestID":"86eeab20-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/8686f783-8d41-40dc-b371-f16cf253864d?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828"},"level":"info","message":"Setting up experiment","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828"},"level":"info","message":"Successfully locked booking for experiment","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828"},"level":"info","message":"Attempting to update booking for experiment","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828"},"level":"info","message":"Successfully updated booking for experiment","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828"},"level":"info","message":"Successfully set up experiment","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"86f8bd40-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"86f90b60-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828"},"level":"info","message":"Successfully running experiment","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"86f95980-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Received request.","req_id":421,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Sent response.","req_id":421,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.968777,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":422,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"86f8bd40-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836296,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5Nn0.ucxM8kpLemnzHvR-YyA1sWl-bGMrOn7w9eYYX-YUyZU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"86f8bd40-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":422,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.726351,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Received request.","req_id":423,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"86f90b60-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836296,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5Nn0.ucxM8kpLemnzHvR-YyA1sWl-bGMrOn7w9eYYX-YUyZU"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"86f90b60-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F966745c5-c1e6-4ef1-8fe2-ad765393b035","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e26ab09d-d9c8-4cdc-a41a-ceceeae5d451","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836296.4792688} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Sent response.","req_id":423,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.756456,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"86f95980-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"86f95980-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F966745c5-c1e6-4ef1-8fe2-ad765393b035","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F966745c5-c1e6-4ef1-8fe2-ad765393b035","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:34.250051034Z"}]},"request_id":"8559c36f-13a1-4f21-9fef-eb7f209b1c16","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836296.4819272} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"86f95980-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"86f8bd40-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"POST /devices/966745c5-c1e6-4ef1-8fe2-ad765393b035/signaling 200 13ms","method":"POST","requestID":"86f95980-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035/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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:34.294978212Z"}]},"request_id":"6bf722b0-fb3f-492c-920a-844b95763249","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836296.484909} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"86f90b60-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"86fbf190-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F70cbbbdd-bf68-41d9-8b8c-9a8978a90828#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F70cbbbdd-bf68-41d9-8b8c-9a8978a90828","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"32a25d38-67cc-4388-a9d5-cef7a8d551bf","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836296.4890592} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7e1ea4f1-dd32-4551-b6bf-6c02584adb3b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836296.4891577} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78","responseTime":16,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"86f8bd40-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Received request.","req_id":424,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:36Z"} device-1 | {"level":"info","message":"GET /devices/966745c5-c1e6-4ef1-8fe2-ad765393b035? 200 25ms","method":"GET","requestID":"86f8bd40-651d-11ef-83ce-bd5a3df00b5c","responseTime":25,"status":200,"url":"/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"86f90b60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/8686f783-8d41-40dc-b371-f16cf253864d? 200 24ms","method":"GET","requestID":"86f90b60-651d-11ef-83ce-bd5a3df00b5c","responseTime":24,"status":200,"url":"/devices/8686f783-8d41-40dc-b371-f16cf253864d?"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7997f3ff-b654-45f9-8775-a286ec7f0184","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836296.4951274} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Sent response.","req_id":424,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.915642,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"86fbf190-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"86fbf190-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"86fd2a10-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Received request.","req_id":425,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:36Z"} gateway-1 | {"time_local":"28/Aug/2024:09:11:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1291","request_time":"0.139","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"86fbf190-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/8686f783-8d41-40dc-b371-f16cf253864d/signaling 200 13ms","method":"POST","requestID":"86fbf190-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/8686f783-8d41-40dc-b371-f16cf253864d/signaling"} experiment-1 | {"level":"info","message":"POST /experiments? 201 135ms","method":"POST","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78","responseTime":135,"status":201,"url":"/experiments?"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F966745c5-c1e6-4ef1-8fe2-ad765393b035","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3db0af8f-2796-4bcd-bca9-df90451ae01b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836296.5058942} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5Nn0.ucxM8kpLemnzHvR-YyA1sWl-bGMrOn7w9eYYX-YUyZU","level":"info","message":"auth send jwt","requestID":"3993a5c69ca245e56612eaabdb9ff297"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3993a5c69ca245e56612eaabdb9ff297","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3993a5c69ca245e56612eaabdb9ff297"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Sent response.","req_id":425,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":8.276845,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"86fd2a10-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035","object_type":"device","rebac_allow":false,"scope_allow":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":"86fd2a10-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Received request.","req_id":426,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Sent response.","req_id":426,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.178504,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:36Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"86fd2a10-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/966745c5-c1e6-4ef1-8fe2-ad765393b035/signaling 200 16ms","method":"POST","requestID":"86fd2a10-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035/signaling"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"3993a5c69ca245e56612eaabdb9ff297","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836296,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5Nn0.ucxM8kpLemnzHvR-YyA1sWl-bGMrOn7w9eYYX-YUyZU"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3993a5c69ca245e56612eaabdb9ff297","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"87003750-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F966745c5-c1e6-4ef1-8fe2-ad765393b035","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F966745c5-c1e6-4ef1-8fe2-ad765393b035","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:34.250051034Z"}]},"request_id":"5105c713-5ede-4ba3-aa49-37f69fb91b29","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836296.5194583} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"3993a5c69ca245e56612eaabdb9ff297","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Received request.","req_id":427,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d30478ca-2159-4d11-a4ba-6c84cd143599","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836296.5234795} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Sent response.","req_id":427,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.329753,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"87003750-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"87003750-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3993a5c69ca245e56612eaabdb9ff297"} gateway-1 | {"time_local":"28/Aug/2024:09:11:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/966745c5-c1e6-4ef1-8fe2-ad765393b035? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.031","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3993a5c69ca245e56612eaabdb9ff297"} device-1 | {"level":"info","message":"GET /devices/966745c5-c1e6-4ef1-8fe2-ad765393b035? 200 26ms","method":"GET","requestID":"3993a5c69ca245e56612eaabdb9ff297","responseTime":26,"status":200,"url":"/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"87003750-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/8686f783-8d41-40dc-b371-f16cf253864d/signaling 200 17ms","method":"POST","requestID":"87003750-651d-11ef-83ce-bd5a3df00b5c","responseTime":17,"status":200,"url":"/devices/8686f783-8d41-40dc-b371-f16cf253864d/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828"},"level":"info","message":"Building connection plan","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} 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":"e02ceb90-31f2-4f03-b4a3-e98150fba415"},{"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":"5248595c-67b0-4483-89ca-171e1f1bf119"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"a5cb8ea1-d65e-47d7-af86-de46d60602f3"}]},"level":"info","message":"Built pairwise service configurations","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} 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/8686f783-8d41-40dc-b371-f16cf253864d"},{"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/966745c5-c1e6-4ef1-8fe2-ad765393b035"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5Nn0.ucxM8kpLemnzHvR-YyA1sWl-bGMrOn7w9eYYX-YUyZU","level":"info","message":"auth send jwt","requestID":"adb4b0eb248da8923bd572b8335ea386"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"87034490-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"adb4b0eb248da8923bd572b8335ea386","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"adb4b0eb248da8923bd572b8335ea386"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Received request.","req_id":428,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Sent response.","req_id":428,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.650544,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"87034490-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836296,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5Nn0.ucxM8kpLemnzHvR-YyA1sWl-bGMrOn7w9eYYX-YUyZU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"87034490-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":429,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":429,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.62194,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"adb4b0eb248da8923bd572b8335ea386","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836296,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5Nn0.ucxM8kpLemnzHvR-YyA1sWl-bGMrOn7w9eYYX-YUyZU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"adb4b0eb248da8923bd572b8335ea386","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:34.294978212Z"}]},"request_id":"653051ce-a41a-4b3b-bfda-c97c9dbd01ce","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836296.545536} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"adb4b0eb248da8923bd572b8335ea386","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"adb4b0eb248da8923bd572b8335ea386"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"100ba727-f552-4849-bd69-76d6c75ebaad","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836296.5511098} device-1 | {"level":"info","message":"GET /devices/8686f783-8d41-40dc-b371-f16cf253864d? 200 12ms","method":"GET","requestID":"adb4b0eb248da8923bd572b8335ea386","responseTime":12,"status":200,"url":"/devices/8686f783-8d41-40dc-b371-f16cf253864d?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"eda22d19-017f-4d11-b468-82d22231f0d0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836296.5515587} gateway-1 | {"time_local":"28/Aug/2024:09:11:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/8686f783-8d41-40dc-b371-f16cf253864d? 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":"adb4b0eb248da8923bd572b8335ea386"} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"87034490-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"87034490-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"87034490-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/bc25f779-d917-4067-90bf-e00c4fbcef96'","requestID":"87034490-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/bc25f779-d917-4067-90bf-e00c4fbcef96'","requestID":"87034490-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"87034490-651d-11ef-83ce-bd5a3df00b5c"} 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":"87034490-651d-11ef-83ce-bd5a3df00b5c","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":"87034490-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/bc25f779-d917-4067-90bf-e00c4fbcef96","device":"966745c5-c1e6-4ef1-8fe2-ad765393b035","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/70cbbbdd-bf68-41d9-8b8c-9a8978a90828"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"d4e80f6a11510f9be44d7c0bdefc6d78"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"870cba70-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":430,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F966745c5-c1e6-4ef1-8fe2-ad765393b035","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8563db24-44ba-48be-b107-7f5b8d4405b3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836296.6038458} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":430,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.834704,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"870cba70-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"870cba70-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"870cba70-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/966745c5-c1e6-4ef1-8fe2-ad765393b035/signaling 200 9ms","method":"POST","requestID":"870cba70-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"870e6820-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":431,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:36Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"067d7e25-677e-48dc-9c71-465fbab35426","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836296.615333} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":431,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.089241,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:36Z"} device-1 | {"device":"966745c5-c1e6-4ef1-8fe2-ad765393b035","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"966745c5-c1e6-4ef1-8fe2-ad765393b035","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/8686f783-8d41-40dc-b371-f16cf253864d","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"870e6820-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","object_type":"device","rebac_allow":false,"scope_allow":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":"870e6820-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"870e6820-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/8686f783-8d41-40dc-b371-f16cf253864d/signaling 200 16ms","method":"POST","requestID":"870e6820-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/8686f783-8d41-40dc-b371-f16cf253864d/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 4274761892919979722 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:7VPy\r\na=ice-pwd:DBzWBW3ymVAu52mCkPYorkYv\r\na=ice-options:trickle\r\na=fingerprint:sha-256 B0:FA:B2:E2:DC:28:A6:1E:1F:0E:F7:ED:AF:93:B8:0D:4F:67:BE:33:CE:2E:5B:1F:E0:4E:68:0E:54:C8:87:75\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"966745c5-c1e6-4ef1-8fe2-ad765393b035","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035'"} device-1 | {"device":"966745c5-c1e6-4ef1-8fe2-ad765393b035","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"8686f783-8d41-40dc-b371-f16cf253864d","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":"bc25f779-d917-4067-90bf-e00c4fbcef96","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"8686f783-8d41-40dc-b371-f16cf253864d","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":"8686f783-8d41-40dc-b371-f16cf253864d","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":"8686f783-8d41-40dc-b371-f16cf253864d","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":"8686f783-8d41-40dc-b371-f16cf253864d","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/bc25f779-d917-4067-90bf-e00c4fbcef96' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"bc25f779-d917-4067-90bf-e00c4fbcef96","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ea1b2409a5d34560bf8243745c4b53c0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ea1b2409a5d34560bf8243745c4b53c0","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/8686f783-8d41-40dc-b371-f16cf253864d"},{"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/966745c5-c1e6-4ef1-8fe2-ad765393b035"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/bc25f779-d917-4067-90bf-e00c4fbcef96"}}},"level":"info","message":"received a callback","requestID":"ea1b2409a5d34560bf8243745c4b53c0"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 9ms","method":"POST","requestID":"ea1b2409a5d34560bf8243745c4b53c0","responseTime":9,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.012","http_referrer":"","http_user_agent":"node-fetch","requestID":"ea1b2409a5d34560bf8243745c4b53c0"} device-1 | {"content":{"candidate":"candidate:16349280 1 udp 2113937151 6a245ef1-04a5-4812-887d-80b7925ff373.local 52800 typ host generation 0 ufrag 7VPy network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"966745c5-c1e6-4ef1-8fe2-ad765393b035","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:99710776 1 udp 1677729535 141.24.211.56 52800 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 7VPy network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"966745c5-c1e6-4ef1-8fe2-ad765393b035","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1459407027 1 udp 33562623 141.24.210.113 59587 typ relay raddr 141.24.211.56 rport 52800 generation 0 ufrag 7VPy network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"966745c5-c1e6-4ef1-8fe2-ad765393b035","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"966745c5-c1e6-4ef1-8fe2-ad765393b035","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/966745c5-c1e6-4ef1-8fe2-ad765393b035'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035'"} device-1 | {"data":{"peerconnection":"bc25f779-d917-4067-90bf-e00c4fbcef96","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"8686f783-8d41-40dc-b371-f16cf253864d","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":"966745c5-c1e6-4ef1-8fe2-ad765393b035","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"8686f783-8d41-40dc-b371-f16cf253864d","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":"bc25f779-d917-4067-90bf-e00c4fbcef96","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/bc25f779-d917-4067-90bf-e00c4fbcef96' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"bc25f779-d917-4067-90bf-e00c4fbcef96","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"29bda547acdbd4d8b829c00a334044ed","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"29bda547acdbd4d8b829c00a334044ed","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/8686f783-8d41-40dc-b371-f16cf253864d"},{"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/966745c5-c1e6-4ef1-8fe2-ad765393b035"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/bc25f779-d917-4067-90bf-e00c4fbcef96"}}},"level":"info","message":"received a callback","requestID":"29bda547acdbd4d8b829c00a334044ed"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"884efe70-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":432,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:38Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbc25f779-d917-4067-90bf-e00c4fbcef96","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5715f3e0-d815-4106-97f2-1f214450e62d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836298.715924} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":432,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.253119,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/bc25f779-d917-4067-90bf-e00c4fbcef96","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"884efe70-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/bc25f779-d917-4067-90bf-e00c4fbcef96","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":"884efe70-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"884efe70-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/bc25f779-d917-4067-90bf-e00c4fbcef96 200 8ms","method":"GET","requestID":"884efe70-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/peerconnections/bc25f779-d917-4067-90bf-e00c4fbcef96"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 37ms","method":"POST","requestID":"29bda547acdbd4d8b829c00a334044ed","responseTime":37,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.039","http_referrer":"","http_user_agent":"node-fetch","requestID":"29bda547acdbd4d8b829c00a334044ed"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8853b960-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":433,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:38Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1e6de2b7-9719-4ad1-8a07-4d85af1288f5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836298.7471218} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":433,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.41955,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8853b960-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","object_type":"device","rebac_allow":false,"scope_allow":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":"8853b960-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8853b960-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/8686f783-8d41-40dc-b371-f16cf253864d/signaling 200 9ms","method":"POST","requestID":"8853b960-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/8686f783-8d41-40dc-b371-f16cf253864d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"88556710-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":434,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:38Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F966745c5-c1e6-4ef1-8fe2-ad765393b035","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9338621b-b6cd-414f-8aaa-e1c812aaec2d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836298.757926} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":434,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.754159,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"88556710-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"88556710-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"88556710-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/966745c5-c1e6-4ef1-8fe2-ad765393b035/signaling 200 10ms","method":"POST","requestID":"88556710-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5OH0.buWzbjJfwffuisQwh1BgCTPjyTWMUIoWxa2z7qEiXro","level":"info","message":"auth send jwt","requestID":"6b1e66918e832176f5aa9346d39ade19"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"6b1e66918e832176f5aa9346d39ade19","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828","requestID":"6b1e66918e832176f5aa9346d39ade19"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":435,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:38Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":435,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.471851,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6b1e66918e832176f5aa9346d39ade19","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836298,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5OH0.buWzbjJfwffuisQwh1BgCTPjyTWMUIoWxa2z7qEiXro"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6b1e66918e832176f5aa9346d39ade19","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828","requestID":"6b1e66918e832176f5aa9346d39ade19"} gateway-1 | {"time_local":"28/Aug/2024:09:11:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828 HTTP/1.1","status": "200","body_bytes_sent":"1364","request_time":"0.017","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6b1e66918e832176f5aa9346d39ade19"} experiment-1 | {"level":"info","message":"GET /experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828 200 13ms","method":"GET","requestID":"6b1e66918e832176f5aa9346d39ade19","responseTime":13,"status":200,"url":"/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5OH0.buWzbjJfwffuisQwh1BgCTPjyTWMUIoWxa2z7qEiXro","level":"info","message":"auth send jwt","requestID":"0a35a3c31b780e6487ec73087ba6e5ef"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0a35a3c31b780e6487ec73087ba6e5ef","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828","requestID":"0a35a3c31b780e6487ec73087ba6e5ef"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":436,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:38Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":436,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.965188,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:38Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"0a35a3c31b780e6487ec73087ba6e5ef","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836298,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5OH0.buWzbjJfwffuisQwh1BgCTPjyTWMUIoWxa2z7qEiXro"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0a35a3c31b780e6487ec73087ba6e5ef","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828"},"level":"info","message":"Attempting to finish experiment","requestID":"0a35a3c31b780e6487ec73087ba6e5ef"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"88614df0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":437,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:38Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":437,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.71368,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:38Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/bc25f779-d917-4067-90bf-e00c4fbcef96","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"88614df0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/bc25f779-d917-4067-90bf-e00c4fbcef96","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836298,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5OH0.buWzbjJfwffuisQwh1BgCTPjyTWMUIoWxa2z7qEiXro"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"88614df0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/bc25f779-d917-4067-90bf-e00c4fbcef96","device":"966745c5-c1e6-4ef1-8fe2-ad765393b035","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"8686f783-8d41-40dc-b371-f16cf253864d","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":"8686f783-8d41-40dc-b371-f16cf253864d","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":"8686f783-8d41-40dc-b371-f16cf253864d","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/bc25f779-d917-4067-90bf-e00c4fbcef96' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/bc25f779-d917-4067-90bf-e00c4fbcef96' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"bc25f779-d917-4067-90bf-e00c4fbcef96","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbc25f779-d917-4067-90bf-e00c4fbcef96': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fbc25f779-d917-4067-90bf-e00c4fbcef96","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"9e5fbdd1-434d-4ae1-aa88-d95ebc1e3dea","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836298.850079} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8baa37d0-973e-4422-bc79-2cacd0c71acd","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836298.8502855} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"88614df0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"49e2738883e0ed51876699db2670184a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"49e2738883e0ed51876699db2670184a","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0f52d8d60a3e637f9007021ca26baffa","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/8686f783-8d41-40dc-b371-f16cf253864d"},{"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/966745c5-c1e6-4ef1-8fe2-ad765393b035"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/bc25f779-d917-4067-90bf-e00c4fbcef96"}}},"level":"info","message":"received a callback","requestID":"49e2738883e0ed51876699db2670184a"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"0f52d8d60a3e637f9007021ca26baffa","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":"closed","url":"http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d"},{"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/966745c5-c1e6-4ef1-8fe2-ad765393b035"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/bc25f779-d917-4067-90bf-e00c4fbcef96"}}},"level":"info","message":"received a callback","requestID":"0f52d8d60a3e637f9007021ca26baffa"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"88614df0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/bc25f779-d917-4067-90bf-e00c4fbcef96 204 38ms","method":"DELETE","requestID":"88614df0-651d-11ef-83ce-bd5a3df00b5c","responseTime":38,"status":204,"url":"/peerconnections/bc25f779-d917-4067-90bf-e00c4fbcef96"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828"},"level":"info","message":"Successfully finished experiment","requestID":"0a35a3c31b780e6487ec73087ba6e5ef"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8869b260-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":438,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:38Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F8686f783-8d41-40dc-b371-f16cf253864d","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"09a9da10-ee85-453b-81fb-9e28744b709a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836298.8913376} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":438,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.998792,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8869b260-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8869b260-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8869b260-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/8686f783-8d41-40dc-b371-f16cf253864d/signaling 200 10ms","method":"POST","requestID":"8869b260-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/8686f783-8d41-40dc-b371-f16cf253864d/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"886b8720-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":439,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:38Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F966745c5-c1e6-4ef1-8fe2-ad765393b035","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e878e2bd-3e4f-4525-9561-5233dd51e724","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836298.903675} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":439,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.280247,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"886b8720-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035","object_type":"device","rebac_allow":false,"scope_allow":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":"886b8720-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F70cbbbdd-bf68-41d9-8b8c-9a8978a90828': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F70cbbbdd-bf68-41d9-8b8c-9a8978a90828","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"84c842c0-8d7c-4e3a-a259-755a7b7f1515","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836298.9060352} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e77f7636-b389-4a6c-aff3-cdaba0d4a53f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836298.9063082} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"0a35a3c31b780e6487ec73087ba6e5ef","responseTime":25,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"886b8720-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/966745c5-c1e6-4ef1-8fe2-ad765393b035/signaling 200 12ms","method":"POST","requestID":"886b8720-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/966745c5-c1e6-4ef1-8fe2-ad765393b035/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828","requestID":"0a35a3c31b780e6487ec73087ba6e5ef"} gateway-1 | {"time_local":"28/Aug/2024:09:11:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.153","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0a35a3c31b780e6487ec73087ba6e5ef"} gateway-1 | {"time_local":"28/Aug/2024:09:11:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3226","request_time":"4.025","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"b333c0eaa073ed237d0340c536b5c223"} experiment-1 | {"level":"info","message":"DELETE /experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828 204 153ms","method":"DELETE","requestID":"0a35a3c31b780e6487ec73087ba6e5ef","responseTime":153,"status":204,"url":"/experiments/70cbbbdd-bf68-41d9-8b8c-9a8978a90828"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 124ms","method":"POST","requestID":"49e2738883e0ed51876699db2670184a","responseTime":124,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.128","http_referrer":"","http_user_agent":"node-fetch","requestID":"49e2738883e0ed51876699db2670184a"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 124ms","method":"POST","requestID":"0f52d8d60a3e637f9007021ca26baffa","responseTime":124,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.129","http_referrer":"","http_user_agent":"node-fetch","requestID":"0f52d8d60a3e637f9007021ca26baffa"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5OH0.buWzbjJfwffuisQwh1BgCTPjyTWMUIoWxa2z7qEiXro","level":"info","message":"auth send jwt","requestID":"cafe7859be89fc9d9f7fb7f89ae6a65a"} authentication-1 | {"level":"info","message":"GET /auth 200 7ms","method":"GET","requestID":"cafe7859be89fc9d9f7fb7f89ae6a65a","responseTime":7,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"cafe7859be89fc9d9f7fb7f89ae6a65a"} gateway-1 | {"time_local":"28/Aug/2024:09:11:38 +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.672","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"2a4347c5f403107238e18a2169f83408"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/8686f783-8d41-40dc-b371-f16cf253864d' closed"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":440,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:38Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":440,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.338814,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:38Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"cafe7859be89fc9d9f7fb7f89ae6a65a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836298,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5OH0.buWzbjJfwffuisQwh1BgCTPjyTWMUIoWxa2z7qEiXro"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"cafe7859be89fc9d9f7fb7f89ae6a65a","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/966745c5-c1e6-4ef1-8fe2-ad765393b035' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"b28ac6e6-61c5-4fd6-8658-1916739ebaf3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836299.0184195} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"cafe7859be89fc9d9f7fb7f89ae6a65a","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b67d9822-1b63-4f9d-952f-c0b8c57fd9fb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836299.0240886} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"cafe7859be89fc9d9f7fb7f89ae6a65a","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"f3fbf418-f487-46bf-9803-3d5a9946fabe","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836299.0360224} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"67fb3428-f50b-4a86-afe4-b89bd9eec9b4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836299.0361872} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"cafe7859be89fc9d9f7fb7f89ae6a65a","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:39.035997631Z"}]},"request_id":"36d3087a-3c9f-4b2b-8221-c0dc286cc8d0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836299.0417607} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"cafe7859be89fc9d9f7fb7f89ae6a65a","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"cafe7859be89fc9d9f7fb7f89ae6a65a"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.072","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"cafe7859be89fc9d9f7fb7f89ae6a65a"} device-1 | {"level":"info","message":"POST /devices? 201 63ms","method":"POST","requestID":"cafe7859be89fc9d9f7fb7f89ae6a65a","responseTime":63,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5OX0.Yw4DQZOfjhvRszITqJR_jQOR8pO0R1nZhWU2foZIpvM","level":"info","message":"auth send jwt","requestID":"0a48714a7420a1e20c497748440d0734"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"0a48714a7420a1e20c497748440d0734","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"0a48714a7420a1e20c497748440d0734"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":441,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:39Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":441,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.651688,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:39Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"0a48714a7420a1e20c497748440d0734","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836299,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5OX0.Yw4DQZOfjhvRszITqJR_jQOR8pO0R1nZhWU2foZIpvM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0a48714a7420a1e20c497748440d0734","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92119d2e-a935-492b-80b8-e96989e0c2b3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"e9c145af-14ee-4035-a7d9-dcd926fe463d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836299.074452} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0a48714a7420a1e20c497748440d0734","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"129f0c06-026d-4b54-9d29-a9847428f834","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836299.0789273} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"0a48714a7420a1e20c497748440d0734","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92119d2e-a935-492b-80b8-e96989e0c2b3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"f4888314-7285-4710-aec1-d6c1c2580e45","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836299.0892758} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1c0cfc2d-a303-48ae-846c-0586dbab6690","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836299.089414} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"0a48714a7420a1e20c497748440d0734","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92119d2e-a935-492b-80b8-e96989e0c2b3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92119d2e-a935-492b-80b8-e96989e0c2b3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:39.089255924Z"}]},"request_id":"ff72dd53-62de-49d2-bb7c-7aba9553cb58","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836299.0931923} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0a48714a7420a1e20c497748440d0734","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"0a48714a7420a1e20c497748440d0734"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0a48714a7420a1e20c497748440d0734"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"0a48714a7420a1e20c497748440d0734","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5OX0.Yw4DQZOfjhvRszITqJR_jQOR8pO0R1nZhWU2foZIpvM","level":"info","message":"auth send jwt","requestID":"f680b78b805475ca397eb79e02cc7a40"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f680b78b805475ca397eb79e02cc7a40","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"f680b78b805475ca397eb79e02cc7a40"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":442,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:39Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":442,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.681962,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:39Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"f680b78b805475ca397eb79e02cc7a40","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836299,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5OX0.Yw4DQZOfjhvRszITqJR_jQOR8pO0R1nZhWU2foZIpvM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f680b78b805475ca397eb79e02cc7a40","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:39.035997631Z"}]},"request_id":"c9ff1e1f-dd6c-40ba-81ce-536e6d19d34d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836299.7543352} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f680b78b805475ca397eb79e02cc7a40","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"db90a287-0240-46d1-aba5-db1d6819bdfb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836299.761456} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"f680b78b805475ca397eb79e02cc7a40","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:39.035997631Z"}]},"request_id":"51e5e725-d6cd-40ac-92ac-fc3772ec923e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836299.7924414} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f680b78b805475ca397eb79e02cc7a40","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"f680b78b805475ca397eb79e02cc7a40"} gateway-1 | {"time_local":"28/Aug/2024:09:11:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.056","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"f680b78b805475ca397eb79e02cc7a40"} device-1 | {"level":"info","message":"PATCH /devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492 200 52ms","method":"PATCH","requestID":"f680b78b805475ca397eb79e02cc7a40","responseTime":52,"status":200,"url":"/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5OX0.Yw4DQZOfjhvRszITqJR_jQOR8pO0R1nZhWU2foZIpvM","level":"info","message":"auth send jwt","requestID":"c82e2589fe8590e6b7967192bf609003"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"c82e2589fe8590e6b7967192bf609003","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"c82e2589fe8590e6b7967192bf609003"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":443,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:39Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":443,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.779956,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:39Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"c82e2589fe8590e6b7967192bf609003","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836299,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjI5OX0.Yw4DQZOfjhvRszITqJR_jQOR8pO0R1nZhWU2foZIpvM"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c82e2589fe8590e6b7967192bf609003","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"c82e2589fe8590e6b7967192bf609003"} gateway-1 | {"time_local":"28/Aug/2024:09:11:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492/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":"c82e2589fe8590e6b7967192bf609003"} device-1 | {"level":"info","message":"POST /devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492/websocket 200 16ms","method":"POST","requestID":"c82e2589fe8590e6b7967192bf609003","responseTime":16,"status":200,"url":"/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b9dab1d19fd2be5fe17c082bcba1e095","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b9dab1d19fd2be5fe17c082bcba1e095","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/92119d2e-a935-492b-80b8-e96989e0c2b3/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":"b9dab1d19fd2be5fe17c082bcba1e095"} device-1 | {"level":"info","message":"OPTIONS /devices/92119d2e-a935-492b-80b8-e96989e0c2b3/websocket 200 1ms","method":"OPTIONS","requestID":"b9dab1d19fd2be5fe17c082bcba1e095","responseTime":1,"status":200,"url":"/devices/92119d2e-a935-492b-80b8-e96989e0c2b3/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwMX0.4AfDVqwyjYOJwac8RR7nlENj6YOcsb3862Uzhx5qY-w","level":"info","message":"auth send jwt","requestID":"2b49cd50611f0e7a65934c137cc0d8b1"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"2b49cd50611f0e7a65934c137cc0d8b1","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"2b49cd50611f0e7a65934c137cc0d8b1"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":444,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":444,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.740355,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"2b49cd50611f0e7a65934c137cc0d8b1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836301,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwMX0.4AfDVqwyjYOJwac8RR7nlENj6YOcsb3862Uzhx5qY-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"2b49cd50611f0e7a65934c137cc0d8b1","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"2b49cd50611f0e7a65934c137cc0d8b1"} device-1 | {"level":"info","message":"POST /devices/92119d2e-a935-492b-80b8-e96989e0c2b3/websocket 200 43ms","method":"POST","requestID":"2b49cd50611f0e7a65934c137cc0d8b1","responseTime":43,"status":200,"url":"/devices/92119d2e-a935-492b-80b8-e96989e0c2b3/websocket"} gateway-1 | {"time_local":"28/Aug/2024:09:11:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/92119d2e-a935-492b-80b8-e96989e0c2b3/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.049","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"2b49cd50611f0e7a65934c137cc0d8b1"} device-1 | {"level":"info","message":"device 'http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwMX0.4AfDVqwyjYOJwac8RR7nlENj6YOcsb3862Uzhx5qY-w","level":"info","message":"auth send jwt","requestID":"65f19f7323ae9a809b33b0b83293bef6"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"65f19f7323ae9a809b33b0b83293bef6","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"65f19f7323ae9a809b33b0b83293bef6"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":445,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":445,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.967191,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"65f19f7323ae9a809b33b0b83293bef6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836301,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwMX0.4AfDVqwyjYOJwac8RR7nlENj6YOcsb3862Uzhx5qY-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"65f19f7323ae9a809b33b0b83293bef6","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:39.035997631Z"}]},"request_id":"a92cfd6b-54aa-4838-a2f7-82ef43af54f0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836301.1291053} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"65f19f7323ae9a809b33b0b83293bef6","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"65f19f7323ae9a809b33b0b83293bef6"} gateway-1 | {"time_local":"28/Aug/2024:09:11:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492? 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":"65f19f7323ae9a809b33b0b83293bef6"} device-1 | {"level":"info","message":"GET /devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492? 200 14ms","method":"GET","requestID":"65f19f7323ae9a809b33b0b83293bef6","responseTime":14,"status":200,"url":"/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwMX0.4AfDVqwyjYOJwac8RR7nlENj6YOcsb3862Uzhx5qY-w","level":"info","message":"auth send jwt","requestID":"70c6eb836570db6689364f3da01c5189"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"70c6eb836570db6689364f3da01c5189","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"70c6eb836570db6689364f3da01c5189"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":446,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":446,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.686563,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"70c6eb836570db6689364f3da01c5189","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836301,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwMX0.4AfDVqwyjYOJwac8RR7nlENj6YOcsb3862Uzhx5qY-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"70c6eb836570db6689364f3da01c5189","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92119d2e-a935-492b-80b8-e96989e0c2b3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92119d2e-a935-492b-80b8-e96989e0c2b3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:39.089255924Z"}]},"request_id":"a90d388a-1c6a-482e-a063-8c086fe83fef","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836301.1464243} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"70c6eb836570db6689364f3da01c5189","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"70c6eb836570db6689364f3da01c5189"} gateway-1 | {"time_local":"28/Aug/2024:09:11:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/92119d2e-a935-492b-80b8-e96989e0c2b3? 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":"70c6eb836570db6689364f3da01c5189"} device-1 | {"level":"info","message":"GET /devices/92119d2e-a935-492b-80b8-e96989e0c2b3? 200 11ms","method":"GET","requestID":"70c6eb836570db6689364f3da01c5189","responseTime":11,"status":200,"url":"/devices/92119d2e-a935-492b-80b8-e96989e0c2b3?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwMX0.4AfDVqwyjYOJwac8RR7nlENj6YOcsb3862Uzhx5qY-w","level":"info","message":"auth send jwt","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":447,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":447,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.757436,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836301,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwMX0.4AfDVqwyjYOJwac8RR7nlENj6YOcsb3862Uzhx5qY-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7"},"level":"info","message":"Attempting to run experiment","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7"},"level":"info","message":"Attempting to book experiment","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7"},"level":"info","message":"Successfully booked experiment","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"89cc9dc0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"89ccebe0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":448,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":448,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.754215,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Received request.","req_id":449,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"89cc9dc0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836301,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwMX0.4AfDVqwyjYOJwac8RR7nlENj6YOcsb3862Uzhx5qY-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"89cc9dc0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Sent response.","req_id":449,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.638342,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"89ccebe0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836301,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwMX0.4AfDVqwyjYOJwac8RR7nlENj6YOcsb3862Uzhx5qY-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"89ccebe0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:39.035997631Z"}]},"request_id":"ad57e2f8-16f7-43d8-b5a8-345b5cbd84a2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836301.2226746} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"89cc9dc0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92119d2e-a935-492b-80b8-e96989e0c2b3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92119d2e-a935-492b-80b8-e96989e0c2b3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:39.089255924Z"}]},"request_id":"3b6be68a-aca2-4e03-a963-d1447dcac4b8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836301.224099} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"89ccebe0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"89cc9dc0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492? 200 16ms","method":"GET","requestID":"89cc9dc0-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"89ccebe0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/92119d2e-a935-492b-80b8-e96989e0c2b3? 200 15ms","method":"GET","requestID":"89ccebe0-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/devices/92119d2e-a935-492b-80b8-e96989e0c2b3?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7"},"level":"info","message":"Setting up experiment","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7"},"level":"info","message":"Successfully locked booking for experiment","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7"},"level":"info","message":"Attempting to update booking for experiment","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7"},"level":"info","message":"Successfully updated booking for experiment","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7"},"level":"info","message":"Successfully set up experiment","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"89d99610-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"89d9bd20-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"89da0b40-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7"},"level":"info","message":"Successfully running experiment","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Received request.","req_id":450,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":451,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"client_addr":"127.0.0.1:57694","level":"info","msg":"Sent response.","req_id":450,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.98154,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":451,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.089968,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"89d99610-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836301,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwMX0.4AfDVqwyjYOJwac8RR7nlENj6YOcsb3862Uzhx5qY-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"89d99610-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"89d9bd20-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836301,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwMX0.4AfDVqwyjYOJwac8RR7nlENj6YOcsb3862Uzhx5qY-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"89d9bd20-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":452,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":452,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.67672,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e0dab1c3-9a80-4ad3-aea9-e320eaf38473","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836301.3115237} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92119d2e-a935-492b-80b8-e96989e0c2b3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92119d2e-a935-492b-80b8-e96989e0c2b3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:39.089255924Z"}]},"request_id":"0da0d269-912b-4efc-ae13-b4bc3622bc87","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836301.3147979} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"89da0b40-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 14ms","method":"POST","requestID":"89da0b40-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:39.035997631Z"}]},"request_id":"835ef30a-881a-41ca-adcf-497b6b310599","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836301.3164659} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"89d9bd20-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"89d99610-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fa4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fa4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"55daa96c-93dc-4a45-b03b-1c7b2036aae3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836301.3299425} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"76392ac7-31b7-43f8-948c-3f53fec9a011","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836301.3302448} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89","responseTime":25,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"89da0b40-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492/signaling 200 35ms","method":"POST","requestID":"89da0b40-651d-11ef-83ce-bd5a3df00b5c","responseTime":35,"status":200,"url":"/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"89d9bd20-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/92119d2e-a935-492b-80b8-e96989e0c2b3? 200 39ms","method":"GET","requestID":"89d9bd20-651d-11ef-83ce-bd5a3df00b5c","responseTime":39,"status":200,"url":"/devices/92119d2e-a935-492b-80b8-e96989e0c2b3?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"89d99610-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492? 200 42ms","method":"GET","requestID":"89d99610-651d-11ef-83ce-bd5a3df00b5c","responseTime":42,"status":200,"url":"/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"89e025c0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"89e09af0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":453,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":454,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92119d2e-a935-492b-80b8-e96989e0c2b3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"54c343b6-4e5a-4334-b221-6d621cfedf36","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836301.3463037} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":453,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.061068,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:41Z"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"89e025c0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3","object_type":"device","rebac_allow":false,"scope_allow":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":"89e025c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f0784d01-2b05-4342-94f1-df726a7cd545","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836301.348387} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":454,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.586799,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"89e09af0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","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":"28/Aug/2024:09:11:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1291","request_time":"0.200","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} experiment-1 | {"level":"info","message":"POST /experiments? 201 194ms","method":"POST","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89","responseTime":194,"status":201,"url":"/experiments?"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"89e09af0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwMX0.4AfDVqwyjYOJwac8RR7nlENj6YOcsb3862Uzhx5qY-w","level":"info","message":"auth send jwt","requestID":"8d18e38cbdc2e77266e640217d5f6253"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"8d18e38cbdc2e77266e640217d5f6253","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"89e025c0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/92119d2e-a935-492b-80b8-e96989e0c2b3/signaling 200 18ms","method":"POST","requestID":"89e025c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":18,"status":200,"url":"/devices/92119d2e-a935-492b-80b8-e96989e0c2b3/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8d18e38cbdc2e77266e640217d5f6253"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"89e09af0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492/signaling 200 19ms","method":"POST","requestID":"89e09af0-651d-11ef-83ce-bd5a3df00b5c","responseTime":19,"status":200,"url":"/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":455,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":455,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.778828,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8d18e38cbdc2e77266e640217d5f6253","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836301,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwMX0.4AfDVqwyjYOJwac8RR7nlENj6YOcsb3862Uzhx5qY-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8d18e38cbdc2e77266e640217d5f6253","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"89e3f650-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":456,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92119d2e-a935-492b-80b8-e96989e0c2b3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"15c5232f-1da3-4b1a-85b8-947ea2ea7ce2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836301.3698127} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:39.035997631Z"}]},"request_id":"bd57c58e-90e4-439d-b018-447845a60322","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836301.369834} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"8d18e38cbdc2e77266e640217d5f6253","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":456,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.926125,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"89e3f650-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"89e3f650-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8d18e38cbdc2e77266e640217d5f6253"} gateway-1 | {"time_local":"28/Aug/2024:09:11:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492? 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":"8d18e38cbdc2e77266e640217d5f6253"} device-1 | {"level":"info","message":"GET /devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492? 200 15ms","method":"GET","requestID":"8d18e38cbdc2e77266e640217d5f6253","responseTime":15,"status":200,"url":"/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"89e3f650-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/92119d2e-a935-492b-80b8-e96989e0c2b3/signaling 200 11ms","method":"POST","requestID":"89e3f650-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/92119d2e-a935-492b-80b8-e96989e0c2b3/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7"},"level":"info","message":"Building connection plan","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} 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":"d80c5d5e-6daa-465b-b9bf-ec20f643dc79"},{"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":"8670b973-9b03-4c01-a2fb-914af97389f1"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"91b28c40-a746-40b8-8d4f-c49d11d3ba22"}]},"level":"info","message":"Built pairwise service configurations","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} 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/1e8d466a-4c1b-48f1-8bf1-c830d47e3492"},{"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/92119d2e-a935-492b-80b8-e96989e0c2b3"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwMX0.4AfDVqwyjYOJwac8RR7nlENj6YOcsb3862Uzhx5qY-w","level":"info","message":"auth send jwt","requestID":"2b4d8b59a84fb904e5a19c780e66ad53"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"89e61930-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"2b4d8b59a84fb904e5a19c780e66ad53","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2b4d8b59a84fb904e5a19c780e66ad53"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":457,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":457,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":1.071706,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":458,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"89e61930-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836301,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwMX0.4AfDVqwyjYOJwac8RR7nlENj6YOcsb3862Uzhx5qY-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"89e61930-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":458,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.805494,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"2b4d8b59a84fb904e5a19c780e66ad53","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836301,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwMX0.4AfDVqwyjYOJwac8RR7nlENj6YOcsb3862Uzhx5qY-w"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"2b4d8b59a84fb904e5a19c780e66ad53","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92119d2e-a935-492b-80b8-e96989e0c2b3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92119d2e-a935-492b-80b8-e96989e0c2b3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:39.089255924Z"}]},"request_id":"ed854f6d-2dcd-47a9-b02f-b9d0f52b8219","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836301.3900747} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2b4d8b59a84fb904e5a19c780e66ad53","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2b4d8b59a84fb904e5a19c780e66ad53"} gateway-1 | {"time_local":"28/Aug/2024:09:11:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/92119d2e-a935-492b-80b8-e96989e0c2b3? 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":"2b4d8b59a84fb904e5a19c780e66ad53"} device-1 | {"level":"info","message":"GET /devices/92119d2e-a935-492b-80b8-e96989e0c2b3? 200 14ms","method":"GET","requestID":"2b4d8b59a84fb904e5a19c780e66ad53","responseTime":14,"status":200,"url":"/devices/92119d2e-a935-492b-80b8-e96989e0c2b3?"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"31932429-d699-41c8-8839-77d1ba84eac1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836301.3968034} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"94434b51-0a5a-4cb3-a433-47ddd57fedd5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836301.3971164} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"89e61930-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"89e61930-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"89e61930-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/9d7ca518-c309-4b89-a565-b2930e6706cc'","requestID":"89e61930-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/9d7ca518-c309-4b89-a565-b2930e6706cc'","requestID":"89e61930-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"89e61930-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 46ms","method":"POST","requestID":"89e61930-651d-11ef-83ce-bd5a3df00b5c","responseTime":46,"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":"89e61930-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/9d7ca518-c309-4b89-a565-b2930e6706cc","device":"92119d2e-a935-492b-80b8-e96989e0c2b3","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} device-1 | {"device":"92119d2e-a935-492b-80b8-e96989e0c2b3","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"92119d2e-a935-492b-80b8-e96989e0c2b3","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"e58ce1dcd1b0f0543667e3c0d2e7ad89"} device-1 | {"content":{"sdp":"v=0\r\no=- 2558202323749882982 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:DR1E\r\na=ice-pwd:hbhaUh2rA9wpsoyZ+va/QU28\r\na=ice-options:trickle\r\na=fingerprint:sha-256 06:A3:0C:FF:AB:23:A2:2C:E0:4E:60:2B:E0:D2:71:DD:A6:51:BB:4A:1E:70:80:0F:53:47:67:63:9A:45:6C:52\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"92119d2e-a935-492b-80b8-e96989e0c2b3","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"89f4bf30-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":459,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"da205a7f-df0d-4eb2-ab5a-657730f81609","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836301.4797082} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":459,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.38987,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"89f4bf30-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"89f4bf30-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"89f4bf30-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492/signaling 200 10ms","method":"POST","requestID":"89f4bf30-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"89f693f0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":460,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92119d2e-a935-492b-80b8-e96989e0c2b3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"26bd5fca-750c-41c8-8df4-202c9c8e2dad","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836301.4914424} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":460,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.341587,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"89f693f0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"89f693f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"89f693f0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/92119d2e-a935-492b-80b8-e96989e0c2b3/signaling 200 9ms","method":"POST","requestID":"89f693f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/92119d2e-a935-492b-80b8-e96989e0c2b3/signaling"} device-1 | {"device":"92119d2e-a935-492b-80b8-e96989e0c2b3","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"1e8d466a-4c1b-48f1-8bf1-c830d47e3492","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":"9d7ca518-c309-4b89-a565-b2930e6706cc","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"1e8d466a-4c1b-48f1-8bf1-c830d47e3492","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":"1e8d466a-4c1b-48f1-8bf1-c830d47e3492","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":"1e8d466a-4c1b-48f1-8bf1-c830d47e3492","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":"1e8d466a-4c1b-48f1-8bf1-c830d47e3492","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/9d7ca518-c309-4b89-a565-b2930e6706cc' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"9d7ca518-c309-4b89-a565-b2930e6706cc","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"19e14892aa6356288b24e144cc132944","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"19e14892aa6356288b24e144cc132944","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/1e8d466a-4c1b-48f1-8bf1-c830d47e3492"},{"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/92119d2e-a935-492b-80b8-e96989e0c2b3"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/9d7ca518-c309-4b89-a565-b2930e6706cc"}}},"level":"info","message":"received a callback","requestID":"19e14892aa6356288b24e144cc132944"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"19e14892aa6356288b24e144cc132944","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.012","http_referrer":"","http_user_agent":"node-fetch","requestID":"19e14892aa6356288b24e144cc132944"} device-1 | {"content":{"candidate":"candidate:2056964550 1 udp 2113937151 30c973a0-ffe4-489f-936b-cb41360ed2ff.local 34118 typ host generation 0 ufrag DR1E network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"92119d2e-a935-492b-80b8-e96989e0c2b3","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1340875659 1 udp 1677729535 141.24.211.56 34118 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag DR1E network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"92119d2e-a935-492b-80b8-e96989e0c2b3","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1749533177 1 udp 33562623 141.24.210.113 65080 typ relay raddr 141.24.211.56 rport 34118 generation 0 ufrag DR1E network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"92119d2e-a935-492b-80b8-e96989e0c2b3","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"92119d2e-a935-492b-80b8-e96989e0c2b3","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"1e8d466a-4c1b-48f1-8bf1-c830d47e3492","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":"92119d2e-a935-492b-80b8-e96989e0c2b3","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"1e8d466a-4c1b-48f1-8bf1-c830d47e3492","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":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3'"} device-1 | {"data":{"peerconnection":"9d7ca518-c309-4b89-a565-b2930e6706cc","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"9d7ca518-c309-4b89-a565-b2930e6706cc","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/9d7ca518-c309-4b89-a565-b2930e6706cc' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"9d7ca518-c309-4b89-a565-b2930e6706cc","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6cb083dcc6809634ae3ed5c4dbc59154","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"6cb083dcc6809634ae3ed5c4dbc59154","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/1e8d466a-4c1b-48f1-8bf1-c830d47e3492"},{"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/92119d2e-a935-492b-80b8-e96989e0c2b3"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/9d7ca518-c309-4b89-a565-b2930e6706cc"}}},"level":"info","message":"received a callback","requestID":"6cb083dcc6809634ae3ed5c4dbc59154"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"8b352e70-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":461,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:43Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F9d7ca518-c309-4b89-a565-b2930e6706cc","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fbbbfc76-813e-4e19-8d5f-dc9d13173e24","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836303.579208} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":461,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.280536,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:43Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/9d7ca518-c309-4b89-a565-b2930e6706cc","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8b352e70-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/9d7ca518-c309-4b89-a565-b2930e6706cc","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":"8b352e70-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"8b352e70-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/9d7ca518-c309-4b89-a565-b2930e6706cc 200 10ms","method":"GET","requestID":"8b352e70-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/peerconnections/9d7ca518-c309-4b89-a565-b2930e6706cc"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwM30.5AHbKXuGBa_hsKiVH_pYkj5EhIcesVrhxBm7o4VaKB0","level":"info","message":"auth send jwt","requestID":"1384bcfbc604a742bfe6dc3d1a06911f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1384bcfbc604a742bfe6dc3d1a06911f","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7","requestID":"1384bcfbc604a742bfe6dc3d1a06911f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 45ms","method":"POST","requestID":"6cb083dcc6809634ae3ed5c4dbc59154","responseTime":45,"status":200,"url":"/callbacks/experiment"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":462,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:43Z"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.049","http_referrer":"","http_user_agent":"node-fetch","requestID":"6cb083dcc6809634ae3ed5c4dbc59154"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":462,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.814362,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:43Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8b3b7000-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"1384bcfbc604a742bfe6dc3d1a06911f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836303,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwM30.5AHbKXuGBa_hsKiVH_pYkj5EhIcesVrhxBm7o4VaKB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1384bcfbc604a742bfe6dc3d1a06911f","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":463,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:43Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"65b0c606-7547-4789-acca-38e59db9773f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836303.621686} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":463,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.727874,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:43Z"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7","requestID":"1384bcfbc604a742bfe6dc3d1a06911f"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8b3b7000-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} experiment-1 | {"level":"info","message":"GET /experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7 200 11ms","method":"GET","requestID":"1384bcfbc604a742bfe6dc3d1a06911f","responseTime":11,"status":200,"url":"/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"8b3b7000-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"28/Aug/2024:09:11:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7 HTTP/1.1","status": "200","body_bytes_sent":"1364","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1384bcfbc604a742bfe6dc3d1a06911f"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8b3b7000-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492/signaling 200 11ms","method":"POST","requestID":"8b3b7000-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwM30.5AHbKXuGBa_hsKiVH_pYkj5EhIcesVrhxBm7o4VaKB0","level":"info","message":"auth send jwt","requestID":"f28f0fbe6a0e65a6ac51c8c54f608499"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"f28f0fbe6a0e65a6ac51c8c54f608499","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8b3d6bd0-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7","requestID":"f28f0fbe6a0e65a6ac51c8c54f608499"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":464,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:43Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":465,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:43Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92119d2e-a935-492b-80b8-e96989e0c2b3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4ff6362b-7711-4a32-9e29-925455502fa9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836303.6342483} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":465,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.912323,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:43Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"f28f0fbe6a0e65a6ac51c8c54f608499","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836303,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwM30.5AHbKXuGBa_hsKiVH_pYkj5EhIcesVrhxBm7o4VaKB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"f28f0fbe6a0e65a6ac51c8c54f608499","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":464,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.696506,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8b3d6bd0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8b3d6bd0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8b3d6bd0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/92119d2e-a935-492b-80b8-e96989e0c2b3/signaling 200 11ms","method":"POST","requestID":"8b3d6bd0-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/92119d2e-a935-492b-80b8-e96989e0c2b3/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7"},"level":"info","message":"Attempting to finish experiment","requestID":"f28f0fbe6a0e65a6ac51c8c54f608499"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"8b3f8eb0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":466,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:43Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":466,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.702476,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:43Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/9d7ca518-c309-4b89-a565-b2930e6706cc","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8b3f8eb0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/9d7ca518-c309-4b89-a565-b2930e6706cc","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836303,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwM30.5AHbKXuGBa_hsKiVH_pYkj5EhIcesVrhxBm7o4VaKB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8b3f8eb0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/9d7ca518-c309-4b89-a565-b2930e6706cc","device":"92119d2e-a935-492b-80b8-e96989e0c2b3","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"1e8d466a-4c1b-48f1-8bf1-c830d47e3492","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":"1e8d466a-4c1b-48f1-8bf1-c830d47e3492","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":"1e8d466a-4c1b-48f1-8bf1-c830d47e3492","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/9d7ca518-c309-4b89-a565-b2930e6706cc' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/9d7ca518-c309-4b89-a565-b2930e6706cc' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"9d7ca518-c309-4b89-a565-b2930e6706cc","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8596718eafdc19e88ba1a71e0d625301","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F9d7ca518-c309-4b89-a565-b2930e6706cc': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F9d7ca518-c309-4b89-a565-b2930e6706cc","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"241717b3-a2cc-4cb7-ac1e-becc0d857994","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836303.66224} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"8596718eafdc19e88ba1a71e0d625301","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"67c73def-2a99-4ef7-92b7-8da951fca0d7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836303.6625628} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"8a801f21d63b1ac967e36b7fa70bffa6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/1e8d466a-4c1b-48f1-8bf1-c830d47e3492"},{"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/92119d2e-a935-492b-80b8-e96989e0c2b3"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/9d7ca518-c309-4b89-a565-b2930e6706cc"}}},"level":"info","message":"received a callback","requestID":"8596718eafdc19e88ba1a71e0d625301"} authorization-1 | {"level":"info","message":"POST /relations/update 200 9ms","method":"POST","requestID":"8b3f8eb0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"8a801f21d63b1ac967e36b7fa70bffa6","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":"closed","url":"http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492"},{"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/92119d2e-a935-492b-80b8-e96989e0c2b3"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/9d7ca518-c309-4b89-a565-b2930e6706cc"}}},"level":"info","message":"received a callback","requestID":"8a801f21d63b1ac967e36b7fa70bffa6"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"8b3f8eb0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/9d7ca518-c309-4b89-a565-b2930e6706cc 204 25ms","method":"DELETE","requestID":"8b3f8eb0-651d-11ef-83ce-bd5a3df00b5c","responseTime":25,"status":204,"url":"/peerconnections/9d7ca518-c309-4b89-a565-b2930e6706cc"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7"},"level":"info","message":"Successfully finished experiment","requestID":"f28f0fbe6a0e65a6ac51c8c54f608499"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8b488f60-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":467,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:43Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F1e8d466a-4c1b-48f1-8bf1-c830d47e3492","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0242a6ba-a275-409d-9d50-724223059318","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836303.707027} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":467,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.765622,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8b488f60-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8b488f60-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8b488f60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492/signaling 200 10ms","method":"POST","requestID":"8b488f60-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8b4a8b30-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fa4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fa4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"7c60d2de-82f4-490d-91f0-78768bec994a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836303.7183158} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a68f551f-d080-4326-8da8-9c084f5002c6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836303.7186043} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"f28f0fbe6a0e65a6ac51c8c54f608499","responseTime":20,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":468,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:43Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F92119d2e-a935-492b-80b8-e96989e0c2b3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"23df4cdc-b084-420f-b0cd-b1be3f597ac2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836303.7207844} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":468,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.195737,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:43Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8b4a8b30-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/92119d2e-a935-492b-80b8-e96989e0c2b3","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8b4a8b30-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8b4a8b30-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/92119d2e-a935-492b-80b8-e96989e0c2b3/signaling 200 10ms","method":"POST","requestID":"8b4a8b30-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/92119d2e-a935-492b-80b8-e96989e0c2b3/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7","requestID":"f28f0fbe6a0e65a6ac51c8c54f608499"} gateway-1 | {"time_local":"28/Aug/2024:09:11:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7 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":"f28f0fbe6a0e65a6ac51c8c54f608499"} gateway-1 | {"time_local":"28/Aug/2024:09:11:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3232","request_time":"3.993","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"d21be05846358d557b27a89c357421a0"} experiment-1 | {"level":"info","message":"DELETE /experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7 204 183ms","method":"DELETE","requestID":"f28f0fbe6a0e65a6ac51c8c54f608499","responseTime":183,"status":204,"url":"/experiments/a4246e4a-c4ec-4031-9d0f-e4aaebe9cbc7"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 151ms","method":"POST","requestID":"8596718eafdc19e88ba1a71e0d625301","responseTime":151,"status":200,"url":"/callbacks/experiment"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwM30.5AHbKXuGBa_hsKiVH_pYkj5EhIcesVrhxBm7o4VaKB0","level":"info","message":"auth send jwt","requestID":"b20836f1a61e0245c51f1370e5c2fa51"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b20836f1a61e0245c51f1370e5c2fa51","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"b20836f1a61e0245c51f1370e5c2fa51"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":469,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:43Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":469,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.011395,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:43Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b20836f1a61e0245c51f1370e5c2fa51","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836303,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwM30.5AHbKXuGBa_hsKiVH_pYkj5EhIcesVrhxBm7o4VaKB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b20836f1a61e0245c51f1370e5c2fa51","responseTime":5,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.167","http_referrer":"","http_user_agent":"node-fetch","requestID":"8596718eafdc19e88ba1a71e0d625301"} gateway-1 | {"time_local":"28/Aug/2024:09:11:43 +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.731","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"bfa715400e30ee0a2e10a3a771f65b53"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 167ms","method":"POST","requestID":"8a801f21d63b1ac967e36b7fa70bffa6","responseTime":167,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.171","http_referrer":"","http_user_agent":"node-fetch","requestID":"8a801f21d63b1ac967e36b7fa70bffa6"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/1e8d466a-4c1b-48f1-8bf1-c830d47e3492' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"db3ce044-c745-46ea-835c-de61b31850b7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836303.8540647} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b20836f1a61e0245c51f1370e5c2fa51","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"82caa6e5-8f50-4359-aca8-bf9d4ea451e6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836303.8594654} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"b20836f1a61e0245c51f1370e5c2fa51","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/92119d2e-a935-492b-80b8-e96989e0c2b3' closed"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"82abc482-081f-44c8-bb16-0d92da0c56b8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836303.870984} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9eb3eaf3-e6a6-458d-a491-cd3f89370ecb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836303.8710322} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"b20836f1a61e0245c51f1370e5c2fa51","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:43.870954215Z"}]},"request_id":"fb5ea84f-c2d6-420f-8e19-d19e763ca123","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836303.8754492} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b20836f1a61e0245c51f1370e5c2fa51","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"b20836f1a61e0245c51f1370e5c2fa51"} gateway-1 | {"time_local":"28/Aug/2024:09:11:43 +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":"b20836f1a61e0245c51f1370e5c2fa51"} device-1 | {"level":"info","message":"POST /devices? 201 59ms","method":"POST","requestID":"b20836f1a61e0245c51f1370e5c2fa51","responseTime":59,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwM30.5AHbKXuGBa_hsKiVH_pYkj5EhIcesVrhxBm7o4VaKB0","level":"info","message":"auth send jwt","requestID":"eba65d87fd83dcdb5858d8c9bad616b4"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"eba65d87fd83dcdb5858d8c9bad616b4","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"eba65d87fd83dcdb5858d8c9bad616b4"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":470,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:43Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":470,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.809908,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:43Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"eba65d87fd83dcdb5858d8c9bad616b4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836303,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwM30.5AHbKXuGBa_hsKiVH_pYkj5EhIcesVrhxBm7o4VaKB0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"eba65d87fd83dcdb5858d8c9bad616b4","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35366e7-ca02-41dd-872f-b41151bab24c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"a9381858-2b55-439a-8e68-36ba677cec36","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836303.9167824} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"eba65d87fd83dcdb5858d8c9bad616b4","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"602f6e8e-648d-4b81-ab7c-b678a2e843e1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836303.9215891} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"eba65d87fd83dcdb5858d8c9bad616b4","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35366e7-ca02-41dd-872f-b41151bab24c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"874b7add-9438-4e6c-889c-ae2a2be011fc","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836303.9373345} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fb3337dc-5290-424d-b6bf-76edec24ad4c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836303.9374616} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"eba65d87fd83dcdb5858d8c9bad616b4","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35366e7-ca02-41dd-872f-b41151bab24c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35366e7-ca02-41dd-872f-b41151bab24c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:43.937306513Z"}]},"request_id":"8d3e6801-5176-4eb2-a724-fda16abce9cc","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836303.9415936} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"eba65d87fd83dcdb5858d8c9bad616b4","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"eba65d87fd83dcdb5858d8c9bad616b4"} gateway-1 | {"time_local":"28/Aug/2024:09:11:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.064","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"eba65d87fd83dcdb5858d8c9bad616b4"} device-1 | {"level":"info","message":"POST /devices? 201 60ms","method":"POST","requestID":"eba65d87fd83dcdb5858d8c9bad616b4","responseTime":60,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNH0.07RqPLBLYgpATFO7boO394zzh4QR2eqtJaJ9n4VJYp0","level":"info","message":"auth send jwt","requestID":"5d04bd917e98e9547cc23aa625797557"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5d04bd917e98e9547cc23aa625797557","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"5d04bd917e98e9547cc23aa625797557"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":471,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:44Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":471,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.735963,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:44Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"5d04bd917e98e9547cc23aa625797557","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836304,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNH0.07RqPLBLYgpATFO7boO394zzh4QR2eqtJaJ9n4VJYp0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"5d04bd917e98e9547cc23aa625797557","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:43.870954215Z"}]},"request_id":"f20d0864-e9ad-4187-bfc2-70c45d0c78a6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836304.5319364} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5d04bd917e98e9547cc23aa625797557","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"aa6b83e9-fbc3-435e-b2b6-df4ccb4f52b3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836304.537473} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"5d04bd917e98e9547cc23aa625797557","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:43.870954215Z"}]},"request_id":"c6254816-4336-4443-ad9d-8327e27529f3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836304.5754197} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"5d04bd917e98e9547cc23aa625797557","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"5d04bd917e98e9547cc23aa625797557"} gateway-1 | {"time_local":"28/Aug/2024:09:11:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/cf30d5b3-df77-4f80-bce3-d31517132a82 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.060","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"5d04bd917e98e9547cc23aa625797557"} device-1 | {"level":"info","message":"PATCH /devices/cf30d5b3-df77-4f80-bce3-d31517132a82 200 56ms","method":"PATCH","requestID":"5d04bd917e98e9547cc23aa625797557","responseTime":56,"status":200,"url":"/devices/cf30d5b3-df77-4f80-bce3-d31517132a82"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNH0.07RqPLBLYgpATFO7boO394zzh4QR2eqtJaJ9n4VJYp0","level":"info","message":"auth send jwt","requestID":"bc0d2e7e5490dc855975c53a52952955"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"bc0d2e7e5490dc855975c53a52952955","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"bc0d2e7e5490dc855975c53a52952955"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":472,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:44Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":472,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.720493,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:44Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"bc0d2e7e5490dc855975c53a52952955","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836304,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNH0.07RqPLBLYgpATFO7boO394zzh4QR2eqtJaJ9n4VJYp0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"bc0d2e7e5490dc855975c53a52952955","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"bc0d2e7e5490dc855975c53a52952955"} gateway-1 | {"time_local":"28/Aug/2024:09:11:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/cf30d5b3-df77-4f80-bce3-d31517132a82/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.046","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"bc0d2e7e5490dc855975c53a52952955"} device-1 | {"level":"info","message":"POST /devices/cf30d5b3-df77-4f80-bce3-d31517132a82/websocket 200 42ms","method":"POST","requestID":"bc0d2e7e5490dc855975c53a52952955","responseTime":42,"status":200,"url":"/devices/cf30d5b3-df77-4f80-bce3-d31517132a82/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3b97cf808160604c3bbc224ab53f50d4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"3b97cf808160604c3bbc224ab53f50d4","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/e35366e7-ca02-41dd-872f-b41151bab24c/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":"3b97cf808160604c3bbc224ab53f50d4"} device-1 | {"level":"info","message":"OPTIONS /devices/e35366e7-ca02-41dd-872f-b41151bab24c/websocket 200 1ms","method":"OPTIONS","requestID":"3b97cf808160604c3bbc224ab53f50d4","responseTime":1,"status":200,"url":"/devices/e35366e7-ca02-41dd-872f-b41151bab24c/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNX0.g7N0vu6zC6oWPdFPFkWqV1JISYojhg83mv6UrziFFrI","level":"info","message":"auth send jwt","requestID":"2a98d4de04eedbe13a8db7990c8afabf"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"2a98d4de04eedbe13a8db7990c8afabf","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"2a98d4de04eedbe13a8db7990c8afabf"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":473,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:45Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":473,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.720869,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:45Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"2a98d4de04eedbe13a8db7990c8afabf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836305,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNX0.g7N0vu6zC6oWPdFPFkWqV1JISYojhg83mv6UrziFFrI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"2a98d4de04eedbe13a8db7990c8afabf","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"2a98d4de04eedbe13a8db7990c8afabf"} gateway-1 | {"time_local":"28/Aug/2024:09:11:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/e35366e7-ca02-41dd-872f-b41151bab24c/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.044","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"2a98d4de04eedbe13a8db7990c8afabf"} device-1 | {"level":"info","message":"POST /devices/e35366e7-ca02-41dd-872f-b41151bab24c/websocket 200 40ms","method":"POST","requestID":"2a98d4de04eedbe13a8db7990c8afabf","responseTime":40,"status":200,"url":"/devices/e35366e7-ca02-41dd-872f-b41151bab24c/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNX0.g7N0vu6zC6oWPdFPFkWqV1JISYojhg83mv6UrziFFrI","level":"info","message":"auth send jwt","requestID":"45addf1c8590be246e8d4791de7f13ab"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"45addf1c8590be246e8d4791de7f13ab","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"45addf1c8590be246e8d4791de7f13ab"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":474,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:45Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":474,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.868661,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:45Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"45addf1c8590be246e8d4791de7f13ab","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836305,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNX0.g7N0vu6zC6oWPdFPFkWqV1JISYojhg83mv6UrziFFrI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"45addf1c8590be246e8d4791de7f13ab","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:43.870954215Z"}]},"request_id":"bed9795f-2ebf-432f-b6a6-3297fe1b6cb7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836305.9866438} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"45addf1c8590be246e8d4791de7f13ab","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"45addf1c8590be246e8d4791de7f13ab"} gateway-1 | {"time_local":"28/Aug/2024:09:11:45 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/cf30d5b3-df77-4f80-bce3-d31517132a82? 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":"45addf1c8590be246e8d4791de7f13ab"} device-1 | {"level":"info","message":"GET /devices/cf30d5b3-df77-4f80-bce3-d31517132a82? 200 14ms","method":"GET","requestID":"45addf1c8590be246e8d4791de7f13ab","responseTime":14,"status":200,"url":"/devices/cf30d5b3-df77-4f80-bce3-d31517132a82?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNX0.g7N0vu6zC6oWPdFPFkWqV1JISYojhg83mv6UrziFFrI","level":"info","message":"auth send jwt","requestID":"41e20bf45c408064ef561255f94f97c6"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"41e20bf45c408064ef561255f94f97c6","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"41e20bf45c408064ef561255f94f97c6"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":475,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:45Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":475,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.206439,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"41e20bf45c408064ef561255f94f97c6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836305,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNX0.g7N0vu6zC6oWPdFPFkWqV1JISYojhg83mv6UrziFFrI"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"41e20bf45c408064ef561255f94f97c6","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35366e7-ca02-41dd-872f-b41151bab24c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35366e7-ca02-41dd-872f-b41151bab24c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:43.937306513Z"}]},"request_id":"bfb29a3c-8ace-4de1-b2e1-0e538f10b0af","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836306.0054593} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"41e20bf45c408064ef561255f94f97c6","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"41e20bf45c408064ef561255f94f97c6"} gateway-1 | {"time_local":"28/Aug/2024:09:11:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/e35366e7-ca02-41dd-872f-b41151bab24c? 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":"41e20bf45c408064ef561255f94f97c6"} device-1 | {"level":"info","message":"GET /devices/e35366e7-ca02-41dd-872f-b41151bab24c? 200 14ms","method":"GET","requestID":"41e20bf45c408064ef561255f94f97c6","responseTime":14,"status":200,"url":"/devices/e35366e7-ca02-41dd-872f-b41151bab24c?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNn0.d3XIafR7PxiJc-Id0421M_ULw2xO7t4CjxIVUzB2QkE","level":"info","message":"auth send jwt","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":476,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":476,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.709084,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836306,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNn0.d3XIafR7PxiJc-Id0421M_ULw2xO7t4CjxIVUzB2QkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc"},"level":"info","message":"Attempting to run experiment","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc"},"level":"info","message":"Attempting to book experiment","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc"},"level":"info","message":"Successfully booked experiment","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8cb73a90-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8cb761a0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":477,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":477,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.025105,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":478,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8cb73a90-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836306,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNn0.d3XIafR7PxiJc-Id0421M_ULw2xO7t4CjxIVUzB2QkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8cb73a90-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":478,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.809485,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8cb761a0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836306,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNn0.d3XIafR7PxiJc-Id0421M_ULw2xO7t4CjxIVUzB2QkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8cb761a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:43.870954215Z"}]},"request_id":"3529e309-5b33-4c05-bba4-2cfb1f4ecd64","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836306.113099} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8cb73a90-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35366e7-ca02-41dd-872f-b41151bab24c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35366e7-ca02-41dd-872f-b41151bab24c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:43.937306513Z"}]},"request_id":"57445438-78d0-4709-bd98-f91f7ac6fd2c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836306.1142254} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8cb761a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8cb73a90-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/cf30d5b3-df77-4f80-bce3-d31517132a82? 200 14ms","method":"GET","requestID":"8cb73a90-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/devices/cf30d5b3-df77-4f80-bce3-d31517132a82?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8cb761a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/e35366e7-ca02-41dd-872f-b41151bab24c? 200 14ms","method":"GET","requestID":"8cb761a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/devices/e35366e7-ca02-41dd-872f-b41151bab24c?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc"},"level":"info","message":"Setting up experiment","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc"},"level":"info","message":"Successfully locked booking for experiment","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc"},"level":"info","message":"Attempting to update booking for experiment","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc"},"level":"info","message":"Successfully updated booking for experiment","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc"},"level":"info","message":"Successfully set up experiment","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8cc34880-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8cc396a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8cc3e4c0-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc"},"level":"info","message":"Successfully running experiment","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":479,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":479,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.954824,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":480,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8cc34880-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836306,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNn0.d3XIafR7PxiJc-Id0421M_ULw2xO7t4CjxIVUzB2QkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"8cc34880-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":480,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.797252,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":481,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8cc396a0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836306,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNn0.d3XIafR7PxiJc-Id0421M_ULw2xO7t4CjxIVUzB2QkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"8cc396a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":481,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.849859,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"699facc8-92af-457e-ac5f-3464e16cdb03","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836306.1959856} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8cc3e4c0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8cc3e4c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8cc3e4c0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/cf30d5b3-df77-4f80-bce3-d31517132a82/signaling 200 13ms","method":"POST","requestID":"8cc3e4c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/cf30d5b3-df77-4f80-bce3-d31517132a82/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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:43.870954215Z"}]},"request_id":"dc7f4214-b78b-4ca9-a7ee-0a8091da3a4b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836306.2008018} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8cc34880-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35366e7-ca02-41dd-872f-b41151bab24c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35366e7-ca02-41dd-872f-b41151bab24c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:43.937306513Z"}]},"request_id":"a56b952c-43a8-4999-9f57-f2c7f686ce29","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836306.2022197} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"8cc396a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8cc67cd0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":482,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:46Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8cc34880-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/cf30d5b3-df77-4f80-bce3-d31517132a82? 200 25ms","method":"GET","requestID":"8cc34880-651d-11ef-83ce-bd5a3df00b5c","responseTime":25,"status":200,"url":"/devices/cf30d5b3-df77-4f80-bce3-d31517132a82?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8cc396a0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35366e7-ca02-41dd-872f-b41151bab24c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e7563909-f998-4fec-994a-68f46c7b7545","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836306.2096274} device-1 | {"level":"info","message":"GET /devices/e35366e7-ca02-41dd-872f-b41151bab24c? 200 25ms","method":"GET","requestID":"8cc396a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":25,"status":200,"url":"/devices/e35366e7-ca02-41dd-872f-b41151bab24c?"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":482,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.179569,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8cc67cd0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c","object_type":"device","rebac_allow":false,"scope_allow":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":"8cc67cd0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F79414ebb-ee0a-4ea7-8003-769ec0b70bbc#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F79414ebb-ee0a-4ea7-8003-769ec0b70bbc","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"a0d7714f-7ad4-4179-8c8d-4af8a3796a86","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836306.2129214} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"30a15b6f-97bf-48a3-8d50-15fb7d7cd608","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836306.2132337} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1","responseTime":21,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8cc82a80-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":483,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:46Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8cc67cd0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/e35366e7-ca02-41dd-872f-b41151bab24c/signaling 200 16ms","method":"POST","requestID":"8cc67cd0-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/e35366e7-ca02-41dd-872f-b41151bab24c/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"585db870-00f1-48ab-8784-543dd3bd3b90","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836306.2223103} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":483,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.606748,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8cc82a80-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","object_type":"device","rebac_allow":false,"scope_allow":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":"8cc82a80-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} gateway-1 | {"time_local":"28/Aug/2024:09:11:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1291","request_time":"0.214","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} experiment-1 | {"level":"info","message":"POST /experiments? 201 210ms","method":"POST","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1","responseTime":210,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8cc82a80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/cf30d5b3-df77-4f80-bce3-d31517132a82/signaling 200 12ms","method":"POST","requestID":"8cc82a80-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/cf30d5b3-df77-4f80-bce3-d31517132a82/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNn0.d3XIafR7PxiJc-Id0421M_ULw2xO7t4CjxIVUzB2QkE","level":"info","message":"auth send jwt","requestID":"eb3b21995bb474478f4e76b43bf9b739"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"eb3b21995bb474478f4e76b43bf9b739","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8cca9b80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"eb3b21995bb474478f4e76b43bf9b739"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":484,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":485,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35366e7-ca02-41dd-872f-b41151bab24c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6f1d559e-bcfd-4f3a-b354-9cd4c45dbd4e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836306.2369552} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":485,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.881573,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"eb3b21995bb474478f4e76b43bf9b739","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836306,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNn0.d3XIafR7PxiJc-Id0421M_ULw2xO7t4CjxIVUzB2QkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"eb3b21995bb474478f4e76b43bf9b739","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":484,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.837182,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8cca9b80-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"8cca9b80-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:43.870954215Z"}]},"request_id":"c06f2cef-625a-4987-8153-d8dec014953f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836306.241633} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8cca9b80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/e35366e7-ca02-41dd-872f-b41151bab24c/signaling 200 10ms","method":"POST","requestID":"8cca9b80-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/e35366e7-ca02-41dd-872f-b41151bab24c/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"eb3b21995bb474478f4e76b43bf9b739","responseTime":4,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc"},"level":"info","message":"Building connection plan","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} 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":"ce79cecd-8465-496d-a4ca-5590d11b8750"},{"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":"4c15a7b6-5c84-49b1-8f1a-417738786123"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"c2392cf5-8c87-40ca-9ef3-510988664d69"}]},"level":"info","message":"Built pairwise service configurations","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} 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/e35366e7-ca02-41dd-872f-b41151bab24c"},{"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/cf30d5b3-df77-4f80-bce3-d31517132a82"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"8cccbe60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"eb3b21995bb474478f4e76b43bf9b739"} gateway-1 | {"time_local":"28/Aug/2024:09:11:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/cf30d5b3-df77-4f80-bce3-d31517132a82? 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":"eb3b21995bb474478f4e76b43bf9b739"} device-1 | {"level":"info","message":"GET /devices/cf30d5b3-df77-4f80-bce3-d31517132a82? 200 15ms","method":"GET","requestID":"eb3b21995bb474478f4e76b43bf9b739","responseTime":15,"status":200,"url":"/devices/cf30d5b3-df77-4f80-bce3-d31517132a82?"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":486,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":486,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.803154,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8cccbe60-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836306,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNn0.d3XIafR7PxiJc-Id0421M_ULw2xO7t4CjxIVUzB2QkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8cccbe60-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNn0.d3XIafR7PxiJc-Id0421M_ULw2xO7t4CjxIVUzB2QkE","level":"info","message":"auth send jwt","requestID":"f6b8260eacd6f36b2b962a6a6a33687d"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"f6b8260eacd6f36b2b962a6a6a33687d","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f6b8260eacd6f36b2b962a6a6a33687d"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":487,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":487,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.725692,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"f6b8260eacd6f36b2b962a6a6a33687d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836306,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwNn0.d3XIafR7PxiJc-Id0421M_ULw2xO7t4CjxIVUzB2QkE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f6b8260eacd6f36b2b962a6a6a33687d","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"24f6898a-3def-425b-bf09-c38ec0853c20","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836306.2620027} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9892d2d8-ca11-494d-81f9-abc0214da7c0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836306.262166} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"8cccbe60-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35366e7-ca02-41dd-872f-b41151bab24c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35366e7-ca02-41dd-872f-b41151bab24c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:43.937306513Z"}]},"request_id":"78eced9c-a166-4550-a953-164cbff1110f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836306.2630262} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"f6b8260eacd6f36b2b962a6a6a33687d","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f6b8260eacd6f36b2b962a6a6a33687d"} gateway-1 | {"time_local":"28/Aug/2024:09:11:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/e35366e7-ca02-41dd-872f-b41151bab24c? 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":"f6b8260eacd6f36b2b962a6a6a33687d"} device-1 | {"level":"info","message":"GET /devices/e35366e7-ca02-41dd-872f-b41151bab24c? 200 14ms","method":"GET","requestID":"f6b8260eacd6f36b2b962a6a6a33687d","responseTime":14,"status":200,"url":"/devices/e35366e7-ca02-41dd-872f-b41151bab24c?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"8cccbe60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"8cccbe60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/b173e453-e5d7-49dd-a9c9-db6f361c7b40'","requestID":"8cccbe60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/b173e453-e5d7-49dd-a9c9-db6f361c7b40'","requestID":"8cccbe60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"8cccbe60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 47ms","method":"POST","requestID":"8cccbe60-651d-11ef-83ce-bd5a3df00b5c","responseTime":47,"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":"8cccbe60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/b173e453-e5d7-49dd-a9c9-db6f361c7b40","device":"e35366e7-ca02-41dd-872f-b41151bab24c","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} device-1 | {"device":"e35366e7-ca02-41dd-872f-b41151bab24c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"e35366e7-ca02-41dd-872f-b41151bab24c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"a14f6991c0da20c5c8c79ba2e9be6ad1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8cdc75d0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":488,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ee812e79-217a-4edf-a50c-f590a2912ad3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836306.354514} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":488,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.184607,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8cdc75d0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"8cdc75d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8cdc75d0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/cf30d5b3-df77-4f80-bce3-d31517132a82/signaling 200 10ms","method":"POST","requestID":"8cdc75d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/cf30d5b3-df77-4f80-bce3-d31517132a82/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8cde4a90-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":489,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35366e7-ca02-41dd-872f-b41151bab24c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c0bc3ea4-4983-4d74-8a38-7a49d3047d62","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836306.3655205} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":489,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.262749,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8cde4a90-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8cde4a90-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8cde4a90-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/e35366e7-ca02-41dd-872f-b41151bab24c/signaling 200 9ms","method":"POST","requestID":"8cde4a90-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/e35366e7-ca02-41dd-872f-b41151bab24c/signaling"} device-1 | {"device":"cf30d5b3-df77-4f80-bce3-d31517132a82","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":"b173e453-e5d7-49dd-a9c9-db6f361c7b40","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 6565407794506061982 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:8KGF\r\na=ice-pwd:+OA9QZeXY1uGv14z8x35xSci\r\na=ice-options:trickle\r\na=fingerprint:sha-256 8F:35:BB:53:C9:9B:A7:22:A6:A9:61:99:78:64:0B:2E:93:23:F5:26:FE:69:A8:3A:1F:53:19:E5:03:B0:5B:D7\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"e35366e7-ca02-41dd-872f-b41151bab24c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"device":"e35366e7-ca02-41dd-872f-b41151bab24c","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/b173e453-e5d7-49dd-a9c9-db6f361c7b40' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b173e453-e5d7-49dd-a9c9-db6f361c7b40","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"candidate":"candidate:1133639869 1 udp 2113937151 1abe1b45-4abf-45a2-a4e0-de22ac8913ca.local 59770 typ host generation 0 ufrag 8KGF network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"e35366e7-ca02-41dd-872f-b41151bab24c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1271509882 1 udp 1677729535 141.24.211.56 59770 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 8KGF network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"e35366e7-ca02-41dd-872f-b41151bab24c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c4b47b295a56858d310b60eabae9ecc9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"e35366e7-ca02-41dd-872f-b41151bab24c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"c4b47b295a56858d310b60eabae9ecc9","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/e35366e7-ca02-41dd-872f-b41151bab24c"},{"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/cf30d5b3-df77-4f80-bce3-d31517132a82"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/b173e453-e5d7-49dd-a9c9-db6f361c7b40"}}},"level":"info","message":"received a callback","requestID":"c4b47b295a56858d310b60eabae9ecc9"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c'"} device-1 | {"device":"cf30d5b3-df77-4f80-bce3-d31517132a82","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":"cf30d5b3-df77-4f80-bce3-d31517132a82","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":"cf30d5b3-df77-4f80-bce3-d31517132a82","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 5ms","method":"POST","requestID":"c4b47b295a56858d310b60eabae9ecc9","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.008","http_referrer":"","http_user_agent":"node-fetch","requestID":"c4b47b295a56858d310b60eabae9ecc9"} device-1 | {"device":"cf30d5b3-df77-4f80-bce3-d31517132a82","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":"cf30d5b3-df77-4f80-bce3-d31517132a82","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":"e35366e7-ca02-41dd-872f-b41151bab24c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"e35366e7-ca02-41dd-872f-b41151bab24c","deviceName":"JS Device 2","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"b173e453-e5d7-49dd-a9c9-db6f361c7b40","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"b173e453-e5d7-49dd-a9c9-db6f361c7b40","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/b173e453-e5d7-49dd-a9c9-db6f361c7b40' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b173e453-e5d7-49dd-a9c9-db6f361c7b40","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"691e797a0eae0e33d0fae12803170cb7","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"691e797a0eae0e33d0fae12803170cb7","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/e35366e7-ca02-41dd-872f-b41151bab24c"},{"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/cf30d5b3-df77-4f80-bce3-d31517132a82"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/b173e453-e5d7-49dd-a9c9-db6f361c7b40"}}},"level":"info","message":"received a callback","requestID":"691e797a0eae0e33d0fae12803170cb7"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"8e193b90-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":490,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:48Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb173e453-e5d7-49dd-a9c9-db6f361c7b40","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"57ce4c1d-dd15-4f92-8eed-babab7a70d49","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836308.4292176} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":490,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.118239,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b173e453-e5d7-49dd-a9c9-db6f361c7b40","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8e193b90-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/b173e453-e5d7-49dd-a9c9-db6f361c7b40","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":"8e193b90-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"8e193b90-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/b173e453-e5d7-49dd-a9c9-db6f361c7b40 200 7ms","method":"GET","requestID":"8e193b90-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/peerconnections/b173e453-e5d7-49dd-a9c9-db6f361c7b40"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 51ms","method":"POST","requestID":"691e797a0eae0e33d0fae12803170cb7","responseTime":51,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.055","http_referrer":"","http_user_agent":"node-fetch","requestID":"691e797a0eae0e33d0fae12803170cb7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8e206780-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":491,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:48Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35366e7-ca02-41dd-872f-b41151bab24c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6ace2fa9-708a-4f77-97d6-807a7184541e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836308.476412} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":491,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.127232,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8e206780-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8e206780-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8e206780-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/e35366e7-ca02-41dd-872f-b41151bab24c/signaling 200 8ms","method":"POST","requestID":"8e206780-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/e35366e7-ca02-41dd-872f-b41151bab24c/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOH0.RXf6yr5fV8uqAVtqPHgI7syXJphh5pTtWiVkT7m1Bzc","level":"info","message":"auth send jwt","requestID":"705e0117d9de02c9a7081783302f1259"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8e21ee20-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"705e0117d9de02c9a7081783302f1259","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc","requestID":"705e0117d9de02c9a7081783302f1259"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":492,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:48Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":493,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:48Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":493,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.746049,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:48Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"705e0117d9de02c9a7081783302f1259","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836308,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOH0.RXf6yr5fV8uqAVtqPHgI7syXJphh5pTtWiVkT7m1Bzc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"705e0117d9de02c9a7081783302f1259","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d204f12d-b141-48c9-81f9-041e77a74877","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836308.486497} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":492,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.448719,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8e21ee20-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8e21ee20-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8e21ee20-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/cf30d5b3-df77-4f80-bce3-d31517132a82/signaling 200 9ms","method":"POST","requestID":"8e21ee20-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/cf30d5b3-df77-4f80-bce3-d31517132a82/signaling"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc","requestID":"705e0117d9de02c9a7081783302f1259"} gateway-1 | {"time_local":"28/Aug/2024:09:11:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc HTTP/1.1","status": "200","body_bytes_sent":"1364","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"705e0117d9de02c9a7081783302f1259"} experiment-1 | {"level":"info","message":"GET /experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc 200 10ms","method":"GET","requestID":"705e0117d9de02c9a7081783302f1259","responseTime":10,"status":200,"url":"/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOH0.RXf6yr5fV8uqAVtqPHgI7syXJphh5pTtWiVkT7m1Bzc","level":"info","message":"auth send jwt","requestID":"dc2d220ef911988a513a66ff303cffae"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"dc2d220ef911988a513a66ff303cffae","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc","requestID":"dc2d220ef911988a513a66ff303cffae"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":494,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:48Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":494,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.669699,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:48Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"dc2d220ef911988a513a66ff303cffae","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836308,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOH0.RXf6yr5fV8uqAVtqPHgI7syXJphh5pTtWiVkT7m1Bzc"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"dc2d220ef911988a513a66ff303cffae","responseTime":2,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc"},"level":"info","message":"Attempting to finish experiment","requestID":"dc2d220ef911988a513a66ff303cffae"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"8e2597a0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":495,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:48Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":495,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.708359,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:48Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b173e453-e5d7-49dd-a9c9-db6f361c7b40","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8e2597a0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/b173e453-e5d7-49dd-a9c9-db6f361c7b40","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836308,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOH0.RXf6yr5fV8uqAVtqPHgI7syXJphh5pTtWiVkT7m1Bzc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8e2597a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/b173e453-e5d7-49dd-a9c9-db6f361c7b40","device":"e35366e7-ca02-41dd-872f-b41151bab24c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"cf30d5b3-df77-4f80-bce3-d31517132a82","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":"cf30d5b3-df77-4f80-bce3-d31517132a82","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":"cf30d5b3-df77-4f80-bce3-d31517132a82","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/b173e453-e5d7-49dd-a9c9-db6f361c7b40' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/b173e453-e5d7-49dd-a9c9-db6f361c7b40' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b173e453-e5d7-49dd-a9c9-db6f361c7b40","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb173e453-e5d7-49dd-a9c9-db6f361c7b40': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb173e453-e5d7-49dd-a9c9-db6f361c7b40","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"33c0165a-2372-4539-acbb-454dde0ddfae","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836308.5213714} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7f26846a-3a0f-4738-8da2-766d01d27082","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836308.521534} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"8e2597a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7257cb43be4df2806684ef39c4ca7fb8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"7257cb43be4df2806684ef39c4ca7fb8","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/e35366e7-ca02-41dd-872f-b41151bab24c"},{"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/cf30d5b3-df77-4f80-bce3-d31517132a82"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b173e453-e5d7-49dd-a9c9-db6f361c7b40"}}},"level":"info","message":"received a callback","requestID":"7257cb43be4df2806684ef39c4ca7fb8"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d9bb6fe6010ca0a2c0e5f33247cba9dc","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d9bb6fe6010ca0a2c0e5f33247cba9dc","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":"closed","url":"http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c"},{"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/cf30d5b3-df77-4f80-bce3-d31517132a82"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b173e453-e5d7-49dd-a9c9-db6f361c7b40"}}},"level":"info","message":"received a callback","requestID":"d9bb6fe6010ca0a2c0e5f33247cba9dc"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"8e2597a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/b173e453-e5d7-49dd-a9c9-db6f361c7b40 204 70ms","method":"DELETE","requestID":"8e2597a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":70,"status":204,"url":"/peerconnections/b173e453-e5d7-49dd-a9c9-db6f361c7b40"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc"},"level":"info","message":"Successfully finished experiment","requestID":"dc2d220ef911988a513a66ff303cffae"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8e354f10-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":496,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:48Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fe35366e7-ca02-41dd-872f-b41151bab24c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"080110c0-5081-46f9-98dd-02fe7d049350","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836308.6134408} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":496,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.89328,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8e354f10-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8e354f10-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8e354f10-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/e35366e7-ca02-41dd-872f-b41151bab24c/signaling 200 8ms","method":"POST","requestID":"8e354f10-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/e35366e7-ca02-41dd-872f-b41151bab24c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8e36d5b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":497,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:48Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcf30d5b3-df77-4f80-bce3-d31517132a82","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e22cea7d-3954-4389-8507-799a0ac1e293","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836308.6239734} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":497,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.685369,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:48Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8e36d5b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8e36d5b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8e36d5b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/cf30d5b3-df77-4f80-bce3-d31517132a82/signaling 200 10ms","method":"POST","requestID":"8e36d5b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/cf30d5b3-df77-4f80-bce3-d31517132a82/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F79414ebb-ee0a-4ea7-8003-769ec0b70bbc': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F79414ebb-ee0a-4ea7-8003-769ec0b70bbc","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"aa36ab85-f1e7-4099-a197-5ab5ff065b42","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836308.6317239} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8ffd0fe8-3638-4579-9e3b-7ec67f4dd10a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836308.632092} authorization-1 | {"level":"info","message":"POST /relations/update 200 25ms","method":"POST","requestID":"dc2d220ef911988a513a66ff303cffae","responseTime":25,"status":200,"url":"/relations/update"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc","requestID":"dc2d220ef911988a513a66ff303cffae"} gateway-1 | {"time_local":"28/Aug/2024:09:11:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.231","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"dc2d220ef911988a513a66ff303cffae"} experiment-1 | {"level":"info","message":"DELETE /experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc 204 230ms","method":"DELETE","requestID":"dc2d220ef911988a513a66ff303cffae","responseTime":230,"status":204,"url":"/experiments/79414ebb-ee0a-4ea7-8003-769ec0b70bbc"} gateway-1 | {"time_local":"28/Aug/2024:09:11:48 +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.099","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"23026f0486ab3d9e780cd146d150eba4"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 205ms","method":"POST","requestID":"7257cb43be4df2806684ef39c4ca7fb8","responseTime":205,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.209","http_referrer":"","http_user_agent":"node-fetch","requestID":"7257cb43be4df2806684ef39c4ca7fb8"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 204ms","method":"POST","requestID":"d9bb6fe6010ca0a2c0e5f33247cba9dc","responseTime":204,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.208","http_referrer":"","http_user_agent":"node-fetch","requestID":"d9bb6fe6010ca0a2c0e5f33247cba9dc"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOH0.RXf6yr5fV8uqAVtqPHgI7syXJphh5pTtWiVkT7m1Bzc","level":"info","message":"auth send jwt","requestID":"d9e9e9870eb432f802902cc505ed6794"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"d9e9e9870eb432f802902cc505ed6794","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"d9e9e9870eb432f802902cc505ed6794"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/cf30d5b3-df77-4f80-bce3-d31517132a82' closed"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":498,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:48Z"} gateway-1 | {"time_local":"28/Aug/2024:09:11:48 +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.785","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"28f5c8bbf157ea9b1e423ebf10fc3ce9"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":498,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.991043,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:48Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"d9e9e9870eb432f802902cc505ed6794","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836308,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOH0.RXf6yr5fV8uqAVtqPHgI7syXJphh5pTtWiVkT7m1Bzc"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d9e9e9870eb432f802902cc505ed6794","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"7eb290b6-68c5-4b31-b68c-f6c350beb2f8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836308.7548401} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"d9e9e9870eb432f802902cc505ed6794","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/e35366e7-ca02-41dd-872f-b41151bab24c' 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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"77c27774-f542-4d5f-8917-9d22a6bb69fa","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836308.7603233} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"d9e9e9870eb432f802902cc505ed6794","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"470d76a8-8f83-408f-a35f-9d7404262305","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836308.777805} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"77922228-de3b-4a0f-b432-1a63b9d0b7ad","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836308.778009} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"d9e9e9870eb432f802902cc505ed6794","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:48.777782818Z"}]},"request_id":"3953cceb-1bdc-4cc7-a32c-1856ebe376c1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836308.7819328} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d9e9e9870eb432f802902cc505ed6794","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d9e9e9870eb432f802902cc505ed6794"} gateway-1 | {"time_local":"28/Aug/2024:09:11:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.055","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d9e9e9870eb432f802902cc505ed6794"} device-1 | {"level":"info","message":"POST /devices? 201 49ms","method":"POST","requestID":"d9e9e9870eb432f802902cc505ed6794","responseTime":49,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOH0.RXf6yr5fV8uqAVtqPHgI7syXJphh5pTtWiVkT7m1Bzc","level":"info","message":"auth send jwt","requestID":"7259d828034329c4e1081f2494846720"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"7259d828034329c4e1081f2494846720","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"7259d828034329c4e1081f2494846720"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":499,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:48Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":499,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.865248,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:48Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7259d828034329c4e1081f2494846720","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836308,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOH0.RXf6yr5fV8uqAVtqPHgI7syXJphh5pTtWiVkT7m1Bzc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7259d828034329c4e1081f2494846720","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"9ed6d278-fc41-424c-9d88-02a1b6ba3f50","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836308.8107922} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7259d828034329c4e1081f2494846720","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5124d3b0-8205-48e6-8da4-58dae75b5513","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836308.8154938} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"7259d828034329c4e1081f2494846720","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"f3b9a16e-1439-4d7b-b73b-8d32abeb3499","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836308.8368905} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1fd5f103-0f46-4b6b-9c99-ed830e243d49","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836308.836933} authorization-1 | {"level":"info","message":"POST /relations/update 200 24ms","method":"POST","requestID":"7259d828034329c4e1081f2494846720","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:48.836852490Z"}]},"request_id":"3fded38d-b007-49e7-ad53-8391be00ebf6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836308.8405476} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7259d828034329c4e1081f2494846720","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"7259d828034329c4e1081f2494846720"} gateway-1 | {"time_local":"28/Aug/2024:09:11:48 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.057","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7259d828034329c4e1081f2494846720"} device-1 | {"level":"info","message":"POST /devices? 201 53ms","method":"POST","requestID":"7259d828034329c4e1081f2494846720","responseTime":53,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0","level":"info","message":"auth send jwt","requestID":"d3d37533edeaba9fe67ff1de53b3cc89"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"d3d37533edeaba9fe67ff1de53b3cc89","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"d3d37533edeaba9fe67ff1de53b3cc89"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":500,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":500,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.99427,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"d3d37533edeaba9fe67ff1de53b3cc89","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836309,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d3d37533edeaba9fe67ff1de53b3cc89","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0","level":"info","message":"auth send jwt","requestID":"f6c46fcd21cb1a0af502467a888fb604"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"f6c46fcd21cb1a0af502467a888fb604","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"f6c46fcd21cb1a0af502467a888fb604"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:48.777782818Z"}]},"request_id":"0e878e87-cbe9-419b-b4bf-c2b3ea58a5f4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.3591378} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d3d37533edeaba9fe67ff1de53b3cc89","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":501,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":501,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.782308,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"f6c46fcd21cb1a0af502467a888fb604","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836309,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"f6c46fcd21cb1a0af502467a888fb604","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4a539101-1b0a-4f93-b4e3-0422d803df80","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.3636231} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"d3d37533edeaba9fe67ff1de53b3cc89","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:48.777782818Z"}]},"request_id":"b9f14693-dc2e-4d4b-99be-ecd3e4f81dc8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.4109159} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d3d37533edeaba9fe67ff1de53b3cc89","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"d3d37533edeaba9fe67ff1de53b3cc89"} gateway-1 | {"time_local":"28/Aug/2024:09:11:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.068","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"d3d37533edeaba9fe67ff1de53b3cc89"} device-1 | {"level":"info","message":"PATCH /devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b 200 65ms","method":"PATCH","requestID":"d3d37533edeaba9fe67ff1de53b3cc89","responseTime":65,"status":200,"url":"/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:48.836852490Z"}]},"request_id":"ae4e2af5-dc44-42a1-ad54-4d2c21a10a56","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.4139466} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"f6c46fcd21cb1a0af502467a888fb604","responseTime":2,"status":200,"url":"/relations/query"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0","level":"info","message":"auth send jwt","requestID":"779ae7fe7850034817a636db8c89ce4f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"779ae7fe7850034817a636db8c89ce4f","responseTime":3,"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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b668c6e9-5f5d-4f41-b688-02e49712f950","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.419094} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"779ae7fe7850034817a636db8c89ce4f"} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"f6c46fcd21cb1a0af502467a888fb604","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":502,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":502,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.702005,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"779ae7fe7850034817a636db8c89ce4f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836309,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"779ae7fe7850034817a636db8c89ce4f","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:48.836852490Z"}]},"request_id":"7e589b3e-7bb4-4f47-9876-0f54b59e95c6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.4335153} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f6c46fcd21cb1a0af502467a888fb604","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"f6c46fcd21cb1a0af502467a888fb604"} gateway-1 | {"time_local":"28/Aug/2024:09:11:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/6b322302-7613-4906-b37f-0ade82a52cb9 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.081","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"f6c46fcd21cb1a0af502467a888fb604"} device-1 | {"level":"info","message":"PATCH /devices/6b322302-7613-4906-b37f-0ade82a52cb9 200 77ms","method":"PATCH","requestID":"f6c46fcd21cb1a0af502467a888fb604","responseTime":77,"status":200,"url":"/devices/6b322302-7613-4906-b37f-0ade82a52cb9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0","level":"info","message":"auth send jwt","requestID":"270f2807a43eebb7f562074301d3a0d7"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"270f2807a43eebb7f562074301d3a0d7","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"270f2807a43eebb7f562074301d3a0d7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"779ae7fe7850034817a636db8c89ce4f"} gateway-1 | {"time_local":"28/Aug/2024:09:11:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b/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":"779ae7fe7850034817a636db8c89ce4f"} device-1 | {"level":"info","message":"POST /devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b/websocket 200 22ms","method":"POST","requestID":"779ae7fe7850034817a636db8c89ce4f","responseTime":22,"status":200,"url":"/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b/websocket"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":503,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":503,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.749843,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"270f2807a43eebb7f562074301d3a0d7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836309,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"270f2807a43eebb7f562074301d3a0d7","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"270f2807a43eebb7f562074301d3a0d7"} gateway-1 | {"time_local":"28/Aug/2024:09:11:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/6b322302-7613-4906-b37f-0ade82a52cb9/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.012","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"270f2807a43eebb7f562074301d3a0d7"} device-1 | {"level":"info","message":"POST /devices/6b322302-7613-4906-b37f-0ade82a52cb9/websocket 200 9ms","method":"POST","requestID":"270f2807a43eebb7f562074301d3a0d7","responseTime":9,"status":200,"url":"/devices/6b322302-7613-4906-b37f-0ade82a52cb9/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0","level":"info","message":"auth send jwt","requestID":"3280a79e4cd0cf38f641bcdabe7fe3a5"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3280a79e4cd0cf38f641bcdabe7fe3a5","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"3280a79e4cd0cf38f641bcdabe7fe3a5"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":504,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":504,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.688985,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"3280a79e4cd0cf38f641bcdabe7fe3a5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836309,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3280a79e4cd0cf38f641bcdabe7fe3a5","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:48.777782818Z"}]},"request_id":"e2c2c072-b4e6-47c7-b742-4f5936fcea00","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.4930508} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"3280a79e4cd0cf38f641bcdabe7fe3a5","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"3280a79e4cd0cf38f641bcdabe7fe3a5"} device-1 | {"level":"info","message":"GET /devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b? 200 10ms","method":"GET","requestID":"3280a79e4cd0cf38f641bcdabe7fe3a5","responseTime":10,"status":200,"url":"/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b?"} gateway-1 | {"time_local":"28/Aug/2024:09:11:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b? 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":"3280a79e4cd0cf38f641bcdabe7fe3a5"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0","level":"info","message":"auth send jwt","requestID":"2b3c630635180645e72987023a1a7a4f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"2b3c630635180645e72987023a1a7a4f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2b3c630635180645e72987023a1a7a4f"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":505,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":505,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.725842,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"2b3c630635180645e72987023a1a7a4f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836309,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"2b3c630635180645e72987023a1a7a4f","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:48.836852490Z"}]},"request_id":"d88977e8-8f29-4c7b-adbf-24396186b865","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.5083337} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2b3c630635180645e72987023a1a7a4f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2b3c630635180645e72987023a1a7a4f"} device-1 | {"level":"info","message":"GET /devices/6b322302-7613-4906-b37f-0ade82a52cb9? 200 10ms","method":"GET","requestID":"2b3c630635180645e72987023a1a7a4f","responseTime":10,"status":200,"url":"/devices/6b322302-7613-4906-b37f-0ade82a52cb9?"} gateway-1 | {"time_local":"28/Aug/2024:09:11:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6b322302-7613-4906-b37f-0ade82a52cb9? 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":"2b3c630635180645e72987023a1a7a4f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0","level":"info","message":"auth send jwt","requestID":"3c2ebea6958f27f0eb46466563a220d0"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3c2ebea6958f27f0eb46466563a220d0","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"3c2ebea6958f27f0eb46466563a220d0"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":506,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":506,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.656813,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"3c2ebea6958f27f0eb46466563a220d0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836309,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3c2ebea6958f27f0eb46466563a220d0","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984"},"level":"info","message":"Attempting to run experiment","requestID":"3c2ebea6958f27f0eb46466563a220d0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984"},"level":"info","message":"Attempting to book experiment","requestID":"3c2ebea6958f27f0eb46466563a220d0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984"},"level":"info","message":"Successfully booked experiment","requestID":"3c2ebea6958f27f0eb46466563a220d0"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8ec61d60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8ec64470-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":507,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":507,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.975414,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":508,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8ec61d60-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836309,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8ec61d60-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":508,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.662426,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8ec64470-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836309,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8ec64470-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:48.777782818Z"}]},"request_id":"391e83d1-1486-46cb-bb2b-1ece0d241286","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.5652263} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8ec61d60-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:48.836852490Z"}]},"request_id":"6b48a33c-2529-4333-8d4f-4977999a4ac6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.5660217} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8ec64470-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8ec61d60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b? 200 12ms","method":"GET","requestID":"8ec61d60-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8ec64470-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/6b322302-7613-4906-b37f-0ade82a52cb9? 200 11ms","method":"GET","requestID":"8ec64470-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/6b322302-7613-4906-b37f-0ade82a52cb9?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984"},"level":"info","message":"Setting up experiment","requestID":"3c2ebea6958f27f0eb46466563a220d0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"3c2ebea6958f27f0eb46466563a220d0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984"},"level":"info","message":"Successfully locked booking for experiment","requestID":"3c2ebea6958f27f0eb46466563a220d0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"3c2ebea6958f27f0eb46466563a220d0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"3c2ebea6958f27f0eb46466563a220d0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984"},"level":"info","message":"Attempting to update booking for experiment","requestID":"3c2ebea6958f27f0eb46466563a220d0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984"},"level":"info","message":"Successfully updated booking for experiment","requestID":"3c2ebea6958f27f0eb46466563a220d0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984"},"level":"info","message":"Successfully set up experiment","requestID":"3c2ebea6958f27f0eb46466563a220d0"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8ed02f80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"8ed07da0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":509,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:49Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8ed0a4b0-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984"},"level":"info","message":"Successfully running experiment","requestID":"3c2ebea6958f27f0eb46466563a220d0"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":509,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.851559,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":510,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8ed02f80-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836309,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8ed02f80-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":510,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.929018,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8ed07da0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836309,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"8ed07da0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":511,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0dc0b74d-1709-448c-9edd-326a7754a0a4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.6328926} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":511,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.424621,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8ed0a4b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","object_type":"device","rebac_allow":false,"scope_allow":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":"8ed0a4b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8ed0a4b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b/signaling 200 9ms","method":"POST","requestID":"8ed0a4b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b/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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:48.777782818Z"}]},"request_id":"f53bb77c-7edf-4f06-b381-9cc68927d154","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.6362972} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8ed02f80-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:48.836852490Z"}]},"request_id":"0f148343-63eb-4e39-b4cc-e7aead0498c3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.6373713} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8ed07da0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8ed27970-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":512,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:49Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8ed02f80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b? 200 20ms","method":"GET","requestID":"8ed02f80-651d-11ef-83ce-bd5a3df00b5c","responseTime":20,"status":200,"url":"/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"8ed07da0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"123278d0-a4e3-442e-b997-c2a9bf636293","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.6445775} device-1 | {"level":"info","message":"GET /devices/6b322302-7613-4906-b37f-0ade82a52cb9? 200 19ms","method":"GET","requestID":"8ed07da0-651d-11ef-83ce-bd5a3df00b5c","responseTime":19,"status":200,"url":"/devices/6b322302-7613-4906-b37f-0ade82a52cb9?"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":512,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.58925,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:49Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8ed3b1f0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8ed27970-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","object_type":"device","rebac_allow":false,"scope_allow":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":"8ed27970-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb92e9122-99c5-440c-a703-ddabd3afd984#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb92e9122-99c5-440c-a703-ddabd3afd984","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"f0816ea9-224c-4af7-a868-25243b928a3e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.6474795} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d9431a55-3467-4ac5-8854-eac97f86f8cc","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.6481838} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8ed27970-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/6b322302-7613-4906-b37f-0ade82a52cb9/signaling 200 12ms","method":"POST","requestID":"8ed27970-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/6b322302-7613-4906-b37f-0ade82a52cb9/signaling"} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"3c2ebea6958f27f0eb46466563a220d0","responseTime":20,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":513,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0ff0a9cb-a21d-4ab9-b3bc-09fdcd43afdf","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.6522799} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":513,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.684442,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8ed3b1f0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8ed3b1f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8ed3b1f0-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"3c2ebea6958f27f0eb46466563a220d0"} device-1 | {"level":"info","message":"POST /devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b/signaling 200 10ms","method":"POST","requestID":"8ed3b1f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b/signaling"} gateway-1 | {"time_local":"28/Aug/2024:09:11:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1295","request_time":"0.146","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3c2ebea6958f27f0eb46466563a220d0"} experiment-1 | {"level":"info","message":"POST /experiments? 201 141ms","method":"POST","requestID":"3c2ebea6958f27f0eb46466563a220d0","responseTime":141,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8ed5adc0-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0","level":"info","message":"auth send jwt","requestID":"a6351d827c7e2fa1a80d25dc059e4d3a"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a6351d827c7e2fa1a80d25dc059e4d3a","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":514,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:49Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a6351d827c7e2fa1a80d25dc059e4d3a"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"eb1d7913-201f-485d-86a1-ce08ec617c14","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.6655047} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":514,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.19847,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":515,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8ed5adc0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8ed5adc0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":515,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.994608,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a6351d827c7e2fa1a80d25dc059e4d3a","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836309,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a6351d827c7e2fa1a80d25dc059e4d3a","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8ed5adc0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/6b322302-7613-4906-b37f-0ade82a52cb9/signaling 200 11ms","method":"POST","requestID":"8ed5adc0-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/6b322302-7613-4906-b37f-0ade82a52cb9/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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:48.777782818Z"}]},"request_id":"17fa7f94-5741-4fb7-8179-1a23713f3331","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.6717062} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"3c2ebea6958f27f0eb46466563a220d0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984"},"level":"info","message":"Building connection plan","requestID":"3c2ebea6958f27f0eb46466563a220d0"} 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":"9d93791b-b988-447f-8612-123a11e9d571"},{"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":"d29e44a1-a8f6-433f-b3f6-39070e391a95"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"8925e27f-9ec2-458e-b0a2-2b075036b473"}]},"level":"info","message":"Built pairwise service configurations","requestID":"3c2ebea6958f27f0eb46466563a220d0"} 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/c7c5e190-157a-4986-8dc4-36cdae85ad2b"},{"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/6b322302-7613-4906-b37f-0ade82a52cb9"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"3c2ebea6958f27f0eb46466563a220d0"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a6351d827c7e2fa1a80d25dc059e4d3a","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"8ed7d0a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a6351d827c7e2fa1a80d25dc059e4d3a"} gateway-1 | {"time_local":"28/Aug/2024:09:11:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b? 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":"a6351d827c7e2fa1a80d25dc059e4d3a"} device-1 | {"level":"info","message":"GET /devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b? 200 13ms","method":"GET","requestID":"a6351d827c7e2fa1a80d25dc059e4d3a","responseTime":13,"status":200,"url":"/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0","level":"info","message":"auth send jwt","requestID":"1173aace9b628144c15d7c466782767d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1173aace9b628144c15d7c466782767d","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":516,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":516,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.848676,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:49Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"1173aace9b628144c15d7c466782767d"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8ed7d0a0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836309,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0"} authorization-1 | {"level":"info","message":"POST /authorize 200 9ms","method":"POST","requestID":"8ed7d0a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":517,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":517,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.710603,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"1173aace9b628144c15d7c466782767d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836309,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMwOX0.wa9niEmQcOFdT-SaG2lr2I-_lg2PChqy4dYVR9Plfv0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1173aace9b628144c15d7c466782767d","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:48.836852490Z"}]},"request_id":"afa2106a-a3de-49e3-955d-63da4b0d4689","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.6915514} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"1173aace9b628144c15d7c466782767d","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"1173aace9b628144c15d7c466782767d"} gateway-1 | {"time_local":"28/Aug/2024:09:11:49 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/6b322302-7613-4906-b37f-0ade82a52cb9? 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":"1173aace9b628144c15d7c466782767d"} device-1 | {"level":"info","message":"GET /devices/6b322302-7613-4906-b37f-0ade82a52cb9? 200 13ms","method":"GET","requestID":"1173aace9b628144c15d7c466782767d","responseTime":13,"status":200,"url":"/devices/6b322302-7613-4906-b37f-0ade82a52cb9?"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"9223e70f-952b-4540-a2d3-76f52b6d1161","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.6956277} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cf13706e-cc11-4067-ae77-95c3a12bb186","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.6961057} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"8ed7d0a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"8ed7d0a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"8ed7d0a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6'","requestID":"8ed7d0a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6'","requestID":"8ed7d0a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"8ed7d0a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 45ms","method":"POST","requestID":"8ed7d0a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":45,"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":"8ed7d0a0-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"3c2ebea6958f27f0eb46466563a220d0"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8ee56530-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":518,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"58a2f4e9-0e78-41b9-ab37-81af3117adb5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.7687287} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":518,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.711386,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8ee56530-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","object_type":"device","rebac_allow":false,"scope_allow":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":"8ee56530-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8ee56530-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b/signaling 200 10ms","method":"POST","requestID":"8ee56530-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"8ee739f0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":519,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bb1d5cb2-0ad8-48b8-8e8f-3b4372573b19","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836309.779879} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":519,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.197586,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:49Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8ee739f0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"8ee739f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"8ee739f0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/6b322302-7613-4906-b37f-0ade82a52cb9/signaling 200 9ms","method":"POST","requestID":"8ee739f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/6b322302-7613-4906-b37f-0ade82a52cb9/signaling"} device-1 | {"device":"6b322302-7613-4906-b37f-0ade82a52cb9","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":"2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"c7c5e190-157a-4986-8dc4-36cdae85ad2b","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":"2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"c7c5e190-157a-4986-8dc4-36cdae85ad2b","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":"c7c5e190-157a-4986-8dc4-36cdae85ad2b","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":"c7c5e190-157a-4986-8dc4-36cdae85ad2b","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":"c7c5e190-157a-4986-8dc4-36cdae85ad2b","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/2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f9debe7d5cd2da3ff65d7f7402087b75","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f9debe7d5cd2da3ff65d7f7402087b75","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/c7c5e190-157a-4986-8dc4-36cdae85ad2b"},{"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/6b322302-7613-4906-b37f-0ade82a52cb9"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6"}}},"level":"info","message":"received a callback","requestID":"f9debe7d5cd2da3ff65d7f7402087b75"} device-1 | {"device":"6b322302-7613-4906-b37f-0ade82a52cb9","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":"6b322302-7613-4906-b37f-0ade82a52cb9","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":"6b322302-7613-4906-b37f-0ade82a52cb9","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":"f9debe7d5cd2da3ff65d7f7402087b75","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.009","http_referrer":"","http_user_agent":"node-fetch","requestID":"f9debe7d5cd2da3ff65d7f7402087b75"} device-1 | {"device":"c7c5e190-157a-4986-8dc4-36cdae85ad2b","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":"6b322302-7613-4906-b37f-0ade82a52cb9","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":"c7c5e190-157a-4986-8dc4-36cdae85ad2b","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":"6b322302-7613-4906-b37f-0ade82a52cb9","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":"2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6","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/2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"33abb719f227e52c73b1c8d7eac5203c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"33abb719f227e52c73b1c8d7eac5203c","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/c7c5e190-157a-4986-8dc4-36cdae85ad2b"},{"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/6b322302-7613-4906-b37f-0ade82a52cb9"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6"}}},"level":"info","message":"received a callback","requestID":"33abb719f227e52c73b1c8d7eac5203c"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"902426c0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":520,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:51Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5b49a2ef-1c7a-4a3d-9e20-cabebbeca4fa","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836311.8565545} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":520,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.094547,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"902426c0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6","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":"902426c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"902426c0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6 200 8ms","method":"GET","requestID":"902426c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/peerconnections/2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 43ms","method":"POST","requestID":"33abb719f227e52c73b1c8d7eac5203c","responseTime":43,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.046","http_referrer":"","http_user_agent":"node-fetch","requestID":"33abb719f227e52c73b1c8d7eac5203c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"902a1a30-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":521,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:51Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fb1bf139-5466-46ba-994e-d759c9053f35","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836311.8956456} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":521,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.133204,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:51Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"902a1a30-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","object_type":"device","rebac_allow":false,"scope_allow":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":"902a1a30-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"902a1a30-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b/signaling 200 8ms","method":"POST","requestID":"902a1a30-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"902ba0d0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":522,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:51Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8e91fe81-8932-4fc9-b5ed-154e309e10d1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836311.9065177} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxMX0.alAzEWXihqU-wr5xDYZfyMPcqRcqa-XyrGMrDHNsaO0","level":"info","message":"auth send jwt","requestID":"6442f4f97b537572d03e82a8668287d2"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":522,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.185558,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:51Z"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6442f4f97b537572d03e82a8668287d2","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"902ba0d0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/b92e9122-99c5-440c-a703-ddabd3afd984","requestID":"6442f4f97b537572d03e82a8668287d2"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"902ba0d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":523,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:51Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"902ba0d0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/6b322302-7613-4906-b37f-0ade82a52cb9/signaling 200 10ms","method":"POST","requestID":"902ba0d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/6b322302-7613-4906-b37f-0ade82a52cb9/signaling"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":523,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.755205,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:51Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6442f4f97b537572d03e82a8668287d2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836311,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxMX0.alAzEWXihqU-wr5xDYZfyMPcqRcqa-XyrGMrDHNsaO0"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6442f4f97b537572d03e82a8668287d2","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/b92e9122-99c5-440c-a703-ddabd3afd984","requestID":"6442f4f97b537572d03e82a8668287d2"} gateway-1 | {"time_local":"28/Aug/2024:09:11:51 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/b92e9122-99c5-440c-a703-ddabd3afd984 HTTP/1.1","status": "200","body_bytes_sent":"1368","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6442f4f97b537572d03e82a8668287d2"} experiment-1 | {"level":"info","message":"GET /experiments/b92e9122-99c5-440c-a703-ddabd3afd984 200 10ms","method":"GET","requestID":"6442f4f97b537572d03e82a8668287d2","responseTime":10,"status":200,"url":"/experiments/b92e9122-99c5-440c-a703-ddabd3afd984"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxMX0.alAzEWXihqU-wr5xDYZfyMPcqRcqa-XyrGMrDHNsaO0","level":"info","message":"auth send jwt","requestID":"796ccd4a4a479363766a784c7da692cb"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"796ccd4a4a479363766a784c7da692cb","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/b92e9122-99c5-440c-a703-ddabd3afd984","requestID":"796ccd4a4a479363766a784c7da692cb"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":524,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:51Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":524,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.671653,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:51Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"796ccd4a4a479363766a784c7da692cb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836311,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxMX0.alAzEWXihqU-wr5xDYZfyMPcqRcqa-XyrGMrDHNsaO0"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"796ccd4a4a479363766a784c7da692cb","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984"},"level":"info","message":"Attempting to finish experiment","requestID":"796ccd4a4a479363766a784c7da692cb"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"90305bc0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":525,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:51Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":525,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.6849,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:51Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"90305bc0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836311,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxMX0.alAzEWXihqU-wr5xDYZfyMPcqRcqa-XyrGMrDHNsaO0"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"90305bc0-651d-11ef-83ce-bd5a3df00b5c","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"device":"c7c5e190-157a-4986-8dc4-36cdae85ad2b","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":"c7c5e190-157a-4986-8dc4-36cdae85ad2b","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":"c7c5e190-157a-4986-8dc4-36cdae85ad2b","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":"6b322302-7613-4906-b37f-0ade82a52cb9","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":"6b322302-7613-4906-b37f-0ade82a52cb9","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":"6b322302-7613-4906-b37f-0ade82a52cb9","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/2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a503a1be21c6d828ecd529723b81b383","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"a503a1be21c6d828ecd529723b81b383","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6672db77a690b29650ac18953fb23647","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/c7c5e190-157a-4986-8dc4-36cdae85ad2b"},{"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/6b322302-7613-4906-b37f-0ade82a52cb9"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6"}}},"level":"info","message":"received a callback","requestID":"a503a1be21c6d828ecd529723b81b383"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"6672db77a690b29650ac18953fb23647","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b10976f5-3ea4-4aea-9425-7e9317b693cb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836311.950485} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"f499feb2-7728-42ef-8f24-d6478567597e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836311.9507275} 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/c7c5e190-157a-4986-8dc4-36cdae85ad2b"},{"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/6b322302-7613-4906-b37f-0ade82a52cb9"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6"}}},"level":"info","message":"received a callback","requestID":"6672db77a690b29650ac18953fb23647"} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"90305bc0-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"90305bc0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6 204 60ms","method":"DELETE","requestID":"90305bc0-651d-11ef-83ce-bd5a3df00b5c","responseTime":60,"status":204,"url":"/peerconnections/2f00ab2e-f04a-42e3-9a90-e8a081aaf0f6"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/b92e9122-99c5-440c-a703-ddabd3afd984"},"level":"info","message":"Successfully finished experiment","requestID":"796ccd4a4a479363766a784c7da692cb"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"903df050-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":526,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:52Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc7c5e190-157a-4986-8dc4-36cdae85ad2b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3979606e-ee9d-4ef3-9e3a-3b6d2d892caa","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836312.0253904} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":526,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.399209,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"903df050-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"903df050-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"903df050-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b/signaling 200 8ms","method":"POST","requestID":"903df050-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"903f9e00-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":527,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:52Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F6b322302-7613-4906-b37f-0ade82a52cb9","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b444e6b3-dcb5-4b6d-ab74-4d4e3e5a45cd","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836312.036315} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":527,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.365139,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:52Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"903f9e00-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9","object_type":"device","rebac_allow":false,"scope_allow":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":"903f9e00-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"903f9e00-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/6b322302-7613-4906-b37f-0ade82a52cb9/signaling 200 8ms","method":"POST","requestID":"903f9e00-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/6b322302-7613-4906-b37f-0ade82a52cb9/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb92e9122-99c5-440c-a703-ddabd3afd984': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fb92e9122-99c5-440c-a703-ddabd3afd984","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"fbda2612-88c7-45ad-989f-acb118b7d5c1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836312.048953} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fd949d52-5e88-4a01-b1f7-72668908f41f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836312.0491965} authorization-1 | {"level":"info","message":"POST /relations/update 200 31ms","method":"POST","requestID":"796ccd4a4a479363766a784c7da692cb","responseTime":31,"status":200,"url":"/relations/update"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/b92e9122-99c5-440c-a703-ddabd3afd984","requestID":"796ccd4a4a479363766a784c7da692cb"} gateway-1 | {"time_local":"28/Aug/2024:09:11:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/b92e9122-99c5-440c-a703-ddabd3afd984 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.217","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"796ccd4a4a479363766a784c7da692cb"} experiment-1 | {"level":"info","message":"DELETE /experiments/b92e9122-99c5-440c-a703-ddabd3afd984 204 213ms","method":"DELETE","requestID":"796ccd4a4a479363766a784c7da692cb","responseTime":213,"status":204,"url":"/experiments/b92e9122-99c5-440c-a703-ddabd3afd984"} gateway-1 | {"time_local":"28/Aug/2024:09:11:52 +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.687","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"1390f599f8b24bb6cfe33c0245a7bccd"} gateway-1 | {"time_local":"28/Aug/2024:09:11:52 +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.695","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"0e5e313febed7a5d67bec433e2346efd"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxMn0.XRDA1alBfSipW0g7Jvhrqmos0uh7mNjjO6N1Nm_z_xE","level":"info","message":"auth send jwt","requestID":"04b416f1f871142b174b652dbbef98bb"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 193ms","method":"POST","requestID":"a503a1be21c6d828ecd529723b81b383","responseTime":193,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.197","http_referrer":"","http_user_agent":"node-fetch","requestID":"a503a1be21c6d828ecd529723b81b383"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/c7c5e190-157a-4986-8dc4-36cdae85ad2b' closed"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"04b416f1f871142b174b652dbbef98bb","responseTime":4,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.200","http_referrer":"","http_user_agent":"node-fetch","requestID":"6672db77a690b29650ac18953fb23647"} device-1 | {"level":"info","message":"postDevices called","requestID":"04b416f1f871142b174b652dbbef98bb"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 195ms","method":"POST","requestID":"6672db77a690b29650ac18953fb23647","responseTime":195,"status":200,"url":"/callbacks/experiment"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":528,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:52Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":528,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.948496,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:52Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"04b416f1f871142b174b652dbbef98bb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836312,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxMn0.XRDA1alBfSipW0g7Jvhrqmos0uh7mNjjO6N1Nm_z_xE"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/6b322302-7613-4906-b37f-0ade82a52cb9' closed"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"04b416f1f871142b174b652dbbef98bb","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"c29012cf-31a9-49d8-85c8-0e705e946278","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836312.1708086} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"04b416f1f871142b174b652dbbef98bb","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a6411f44-8345-425f-8df0-7a5acea1cdbe","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836312.1770332} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"04b416f1f871142b174b652dbbef98bb","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"7d5054aa-617c-434d-b59d-cfc0db3e4411","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836312.188931} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"809cce77-4044-4184-94d3-64ae53322deb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836312.1891346} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"04b416f1f871142b174b652dbbef98bb","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:52.188903548Z"}]},"request_id":"1f24b7f7-aa7e-476f-bc31-a8f01c4b9aeb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836312.1936507} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"04b416f1f871142b174b652dbbef98bb","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"04b416f1f871142b174b652dbbef98bb"} gateway-1 | {"time_local":"28/Aug/2024:09:11:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.057","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"04b416f1f871142b174b652dbbef98bb"} device-1 | {"level":"info","message":"POST /devices? 201 50ms","method":"POST","requestID":"04b416f1f871142b174b652dbbef98bb","responseTime":50,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxMn0.XRDA1alBfSipW0g7Jvhrqmos0uh7mNjjO6N1Nm_z_xE","level":"info","message":"auth send jwt","requestID":"68125f2b1cd13fd57a9b3722a3cc4b55"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"68125f2b1cd13fd57a9b3722a3cc4b55","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"68125f2b1cd13fd57a9b3722a3cc4b55"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":529,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:52Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":529,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.767598,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:52Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"68125f2b1cd13fd57a9b3722a3cc4b55","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836312,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxMn0.XRDA1alBfSipW0g7Jvhrqmos0uh7mNjjO6N1Nm_z_xE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"68125f2b1cd13fd57a9b3722a3cc4b55","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"9409dba7-0982-4184-a66e-b97c2003aa9c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836312.2236607} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"68125f2b1cd13fd57a9b3722a3cc4b55","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a10da868-a20b-4436-af5c-5322283f283a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836312.2291229} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"68125f2b1cd13fd57a9b3722a3cc4b55","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"e82371b6-46eb-4c3d-ae8c-a36670eae055","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836312.2450838} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"718cc593-4780-457b-b21b-1e722459c4ba","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836312.2453568} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"68125f2b1cd13fd57a9b3722a3cc4b55","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:52.245056464Z"}]},"request_id":"9fd338fd-b7c9-4852-9ee7-c591916d9254","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836312.2500055} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"68125f2b1cd13fd57a9b3722a3cc4b55","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"68125f2b1cd13fd57a9b3722a3cc4b55"} gateway-1 | {"time_local":"28/Aug/2024:09:11:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.055","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"68125f2b1cd13fd57a9b3722a3cc4b55"} device-1 | {"level":"info","message":"POST /devices? 201 51ms","method":"POST","requestID":"68125f2b1cd13fd57a9b3722a3cc4b55","responseTime":51,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxMn0.XRDA1alBfSipW0g7Jvhrqmos0uh7mNjjO6N1Nm_z_xE","level":"info","message":"auth send jwt","requestID":"cef9a86031413938c28a873422236fb3"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"cef9a86031413938c28a873422236fb3","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"cef9a86031413938c28a873422236fb3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxMn0.XRDA1alBfSipW0g7Jvhrqmos0uh7mNjjO6N1Nm_z_xE","level":"info","message":"auth send jwt","requestID":"caa5c5a1c3fb1b1221d3add26ee10bb9"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"caa5c5a1c3fb1b1221d3add26ee10bb9","responseTime":5,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":530,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:52Z"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"caa5c5a1c3fb1b1221d3add26ee10bb9"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":530,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.726529,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:52Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":531,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:52Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"cef9a86031413938c28a873422236fb3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836312,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxMn0.XRDA1alBfSipW0g7Jvhrqmos0uh7mNjjO6N1Nm_z_xE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"cef9a86031413938c28a873422236fb3","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":531,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.788691,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:52Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"caa5c5a1c3fb1b1221d3add26ee10bb9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836312,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxMn0.XRDA1alBfSipW0g7Jvhrqmos0uh7mNjjO6N1Nm_z_xE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"caa5c5a1c3fb1b1221d3add26ee10bb9","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:52.245056464Z"}]},"request_id":"8c5ba548-c179-4b85-8e60-029cba92340a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836312.7852137} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"cef9a86031413938c28a873422236fb3","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:52.188903548Z"}]},"request_id":"6e4fe59e-7d95-40b8-85dd-8e670a150031","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836312.7859926} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"caa5c5a1c3fb1b1221d3add26ee10bb9","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8057a8c3-2eda-4b21-946b-bba246dc1e93","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836312.7902348} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"cef9a86031413938c28a873422236fb3","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d1f3a542-acd4-4395-b42b-db66f8dd56c3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836312.791643} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"caa5c5a1c3fb1b1221d3add26ee10bb9","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:52.188903548Z"}]},"request_id":"ee339aa5-e374-48c0-a39d-704a817c6bca","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836312.7948334} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"caa5c5a1c3fb1b1221d3add26ee10bb9","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"caa5c5a1c3fb1b1221d3add26ee10bb9"} gateway-1 | {"time_local":"28/Aug/2024:09:11:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.032","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"caa5c5a1c3fb1b1221d3add26ee10bb9"} device-1 | {"level":"info","message":"PATCH /devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b 200 26ms","method":"PATCH","requestID":"caa5c5a1c3fb1b1221d3add26ee10bb9","responseTime":26,"status":200,"url":"/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxMn0.XRDA1alBfSipW0g7Jvhrqmos0uh7mNjjO6N1Nm_z_xE","level":"info","message":"auth send jwt","requestID":"10cd683dab3450447918b4505a829234"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"10cd683dab3450447918b4505a829234","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"10cd683dab3450447918b4505a829234"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":532,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:52Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":532,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.680009,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:52Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"10cd683dab3450447918b4505a829234","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836312,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxMn0.XRDA1alBfSipW0g7Jvhrqmos0uh7mNjjO6N1Nm_z_xE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"10cd683dab3450447918b4505a829234","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:52.245056464Z"}]},"request_id":"773d6c98-9ad6-4ea0-88ad-a83b2b02d85c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836312.8854766} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"cef9a86031413938c28a873422236fb3","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"cef9a86031413938c28a873422236fb3"} gateway-1 | {"time_local":"28/Aug/2024:09:11:52 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.118","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"cef9a86031413938c28a873422236fb3"} device-1 | {"level":"info","message":"PATCH /devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb 200 112ms","method":"PATCH","requestID":"cef9a86031413938c28a873422236fb3","responseTime":112,"status":200,"url":"/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxMn0.XRDA1alBfSipW0g7Jvhrqmos0uh7mNjjO6N1Nm_z_xE","level":"info","message":"auth send jwt","requestID":"efd05a687fb2368faafec888e8473411"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"efd05a687fb2368faafec888e8473411","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"efd05a687fb2368faafec888e8473411"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":533,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:52Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":533,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.769512,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:52Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"efd05a687fb2368faafec888e8473411","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836312,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxMn0.XRDA1alBfSipW0g7Jvhrqmos0uh7mNjjO6N1Nm_z_xE"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"efd05a687fb2368faafec888e8473411","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"10cd683dab3450447918b4505a829234"} device-1 | {"level":"info","message":"POST /devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b/websocket 200 238ms","method":"POST","requestID":"10cd683dab3450447918b4505a829234","responseTime":238,"status":200,"url":"/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b/websocket"} gateway-1 | {"time_local":"28/Aug/2024:09:11:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.242","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"10cd683dab3450447918b4505a829234"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"efd05a687fb2368faafec888e8473411"} device-1 | {"level":"info","message":"POST /devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb/websocket 200 223ms","method":"POST","requestID":"efd05a687fb2368faafec888e8473411","responseTime":223,"status":200,"url":"/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb/websocket"} gateway-1 | {"time_local":"28/Aug/2024:09:11:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.229","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"efd05a687fb2368faafec888e8473411"} device-1 | {"level":"info","message":"device 'http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxM30.jN-0yRluMYE9L-tvnYdSiWpJlVC71fT2gviTs2ozQWQ","level":"info","message":"auth send jwt","requestID":"70364fb35d834e28be5e2ee41b799bdb"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"70364fb35d834e28be5e2ee41b799bdb","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"70364fb35d834e28be5e2ee41b799bdb"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":534,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":534,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.702724,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"70364fb35d834e28be5e2ee41b799bdb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836313,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxM30.jN-0yRluMYE9L-tvnYdSiWpJlVC71fT2gviTs2ozQWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"70364fb35d834e28be5e2ee41b799bdb","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:52.188903548Z"}]},"request_id":"42e24c3b-9954-44e2-b70e-6dd21544b596","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836313.386413} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"70364fb35d834e28be5e2ee41b799bdb","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"70364fb35d834e28be5e2ee41b799bdb"} device-1 | {"level":"info","message":"GET /devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b? 200 10ms","method":"GET","requestID":"70364fb35d834e28be5e2ee41b799bdb","responseTime":10,"status":200,"url":"/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b?"} gateway-1 | {"time_local":"28/Aug/2024:09:11:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"70364fb35d834e28be5e2ee41b799bdb"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxM30.jN-0yRluMYE9L-tvnYdSiWpJlVC71fT2gviTs2ozQWQ","level":"info","message":"auth send jwt","requestID":"f6ad04f239b238651dcd4df94663b9b9"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"f6ad04f239b238651dcd4df94663b9b9","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"f6ad04f239b238651dcd4df94663b9b9"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":535,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":535,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.665285,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"f6ad04f239b238651dcd4df94663b9b9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836313,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxM30.jN-0yRluMYE9L-tvnYdSiWpJlVC71fT2gviTs2ozQWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"f6ad04f239b238651dcd4df94663b9b9","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:52.245056464Z"}]},"request_id":"fda1aa7e-65a4-4cfd-97a1-2f22ad10dc0d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836313.4034252} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"f6ad04f239b238651dcd4df94663b9b9","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"f6ad04f239b238651dcd4df94663b9b9"} gateway-1 | {"time_local":"28/Aug/2024:09:11:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"f6ad04f239b238651dcd4df94663b9b9"} device-1 | {"level":"info","message":"GET /devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb? 200 9ms","method":"GET","requestID":"f6ad04f239b238651dcd4df94663b9b9","responseTime":9,"status":200,"url":"/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxM30.jN-0yRluMYE9L-tvnYdSiWpJlVC71fT2gviTs2ozQWQ","level":"info","message":"auth send jwt","requestID":"4d273cc01daadea60daa4a1e631023d2"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"4d273cc01daadea60daa4a1e631023d2","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"4d273cc01daadea60daa4a1e631023d2"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":536,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":536,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.658305,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"4d273cc01daadea60daa4a1e631023d2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836313,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxM30.jN-0yRluMYE9L-tvnYdSiWpJlVC71fT2gviTs2ozQWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"4d273cc01daadea60daa4a1e631023d2","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d"},"level":"info","message":"Attempting to run experiment","requestID":"4d273cc01daadea60daa4a1e631023d2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d"},"level":"info","message":"Attempting to book experiment","requestID":"4d273cc01daadea60daa4a1e631023d2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d"},"level":"info","message":"Successfully booked experiment","requestID":"4d273cc01daadea60daa4a1e631023d2"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"911898e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9118e700-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":537,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":537,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.661505,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":538,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"911898e0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836313,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxM30.jN-0yRluMYE9L-tvnYdSiWpJlVC71fT2gviTs2ozQWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"911898e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":538,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.640125,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9118e700-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836313,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxM30.jN-0yRluMYE9L-tvnYdSiWpJlVC71fT2gviTs2ozQWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9118e700-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:52.188903548Z"}]},"request_id":"ee766934-f049-4e0b-80d6-3e4063667bcf","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836313.4623516} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"911898e0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:52.245056464Z"}]},"request_id":"f6a93426-f0a6-4744-81be-9edc69e3a031","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836313.4635658} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"9118e700-651d-11ef-83ce-bd5a3df00b5c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"911898e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b? 200 13ms","method":"GET","requestID":"911898e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9118e700-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb? 200 12ms","method":"GET","requestID":"9118e700-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d"},"level":"info","message":"Setting up experiment","requestID":"4d273cc01daadea60daa4a1e631023d2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"4d273cc01daadea60daa4a1e631023d2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d"},"level":"info","message":"Successfully locked booking for experiment","requestID":"4d273cc01daadea60daa4a1e631023d2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"4d273cc01daadea60daa4a1e631023d2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"4d273cc01daadea60daa4a1e631023d2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d"},"level":"info","message":"Attempting to update booking for experiment","requestID":"4d273cc01daadea60daa4a1e631023d2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d"},"level":"info","message":"Successfully updated booking for experiment","requestID":"4d273cc01daadea60daa4a1e631023d2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d"},"level":"info","message":"Successfully set up experiment","requestID":"4d273cc01daadea60daa4a1e631023d2"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9122ab00-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9122d210-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9122f920-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Received request.","req_id":539,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":540,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"client_addr":"127.0.0.1:37234","level":"info","msg":"Sent response.","req_id":539,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.720489,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":540,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.030298,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:53Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d"},"level":"info","message":"Successfully running experiment","requestID":"4d273cc01daadea60daa4a1e631023d2"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9122ab00-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836313,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxM30.jN-0yRluMYE9L-tvnYdSiWpJlVC71fT2gviTs2ozQWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"9122ab00-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9122d210-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836313,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxM30.jN-0yRluMYE9L-tvnYdSiWpJlVC71fT2gviTs2ozQWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"9122d210-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:49546","level":"info","msg":"Received request.","req_id":541,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f0e6f6ef-4ae2-4950-a1ea-d611495ad5aa","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836313.5387704} authorization-1 | {"client_addr":"127.0.0.1:49546","level":"info","msg":"Sent response.","req_id":541,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.855808,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9122f920-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 18ms","method":"POST","requestID":"9122f920-651d-11ef-83ce-bd5a3df00b5c","responseTime":18,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9122f920-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:52.245056464Z"}]},"request_id":"6c30e303-5c5b-40e0-a6e2-c5d9dd8b1e68","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836313.5447268} device-1 | {"level":"info","message":"POST /devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b/signaling 200 24ms","method":"POST","requestID":"9122f920-651d-11ef-83ce-bd5a3df00b5c","responseTime":24,"status":200,"url":"/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"9122d210-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:52.188903548Z"}]},"request_id":"cdae5390-70ad-4666-a8d7-c93dded8d666","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836313.5471158} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"9122ab00-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7521b584-26d2-4936-8b8f-59c3a5d32227","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836313.5514972} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F22779a70-043e-49b2-9328-0290850ff51d#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F22779a70-043e-49b2-9328-0290850ff51d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"202d3f71-7466-4e8a-82c3-b01cff2190f4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836313.551983} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9122d210-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /relations/update 200 23ms","method":"POST","requestID":"4d273cc01daadea60daa4a1e631023d2","responseTime":23,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"GET /devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb? 200 33ms","method":"GET","requestID":"9122d210-651d-11ef-83ce-bd5a3df00b5c","responseTime":33,"status":200,"url":"/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"91282940-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9122ab00-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:49546","level":"info","msg":"Received request.","req_id":542,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:53Z"} device-1 | {"level":"info","message":"GET /devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b? 200 40ms","method":"GET","requestID":"9122ab00-651d-11ef-83ce-bd5a3df00b5c","responseTime":40,"status":200,"url":"/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b?"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"18df2c68-f52b-4e0c-a293-1b5de93db247","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836313.56144} authorization-1 | {"client_addr":"127.0.0.1:49546","level":"info","msg":"Sent response.","req_id":542,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.093697,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"91282940-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"91282940-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"91293ab0-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"4d273cc01daadea60daa4a1e631023d2"} gateway-1 | {"time_local":"28/Aug/2024:09:11:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1295","request_time":"0.157","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4d273cc01daadea60daa4a1e631023d2"} experiment-1 | {"level":"info","message":"POST /experiments? 201 152ms","method":"POST","requestID":"4d273cc01daadea60daa4a1e631023d2","responseTime":152,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:49546","level":"info","msg":"Received request.","req_id":543,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:53Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"91282940-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb/signaling 200 12ms","method":"POST","requestID":"91282940-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"527f40be-61c8-408d-aacb-f03649d5623c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836313.5683756} authorization-1 | {"client_addr":"127.0.0.1:49546","level":"info","msg":"Sent response.","req_id":543,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.104838,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:53Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxM30.jN-0yRluMYE9L-tvnYdSiWpJlVC71fT2gviTs2ozQWQ","level":"info","message":"auth send jwt","requestID":"43498a67fd7e2bc234c05ee916cc960e"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"91293ab0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","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 3ms","method":"GET","requestID":"43498a67fd7e2bc234c05ee916cc960e","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"91293ab0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"43498a67fd7e2bc234c05ee916cc960e"} authorization-1 | {"client_addr":"127.0.0.1:49546","level":"info","msg":"Received request.","req_id":544,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:53Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"91293ab0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b/signaling 200 12ms","method":"POST","requestID":"91293ab0-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b/signaling"} authorization-1 | {"client_addr":"127.0.0.1:49546","level":"info","msg":"Sent response.","req_id":544,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.372289,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"43498a67fd7e2bc234c05ee916cc960e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836313,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxM30.jN-0yRluMYE9L-tvnYdSiWpJlVC71fT2gviTs2ozQWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"43498a67fd7e2bc234c05ee916cc960e","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"912b5d90-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:49546","level":"info","msg":"Received request.","req_id":545,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"15156b74-7f03-4a5c-9f51-31f305cb6dfd","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836313.5812259} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:52.188903548Z"}]},"request_id":"ef069bca-ff1b-4d84-ab6f-00bd29b17396","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836313.5816875} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"43498a67fd7e2bc234c05ee916cc960e","responseTime":2,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:49546","level":"info","msg":"Sent response.","req_id":545,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.494113,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"912b5d90-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"912b5d90-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"43498a67fd7e2bc234c05ee916cc960e"} gateway-1 | {"time_local":"28/Aug/2024:09:11:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b? 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":"43498a67fd7e2bc234c05ee916cc960e"} device-1 | {"level":"info","message":"GET /devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b? 200 15ms","method":"GET","requestID":"43498a67fd7e2bc234c05ee916cc960e","responseTime":15,"status":200,"url":"/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"912b5d90-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb/signaling 200 12ms","method":"POST","requestID":"912b5d90-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"4d273cc01daadea60daa4a1e631023d2"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d"},"level":"info","message":"Building connection plan","requestID":"4d273cc01daadea60daa4a1e631023d2"} 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":"b2e53f51-43db-48c0-8fa9-75cad4a90851"},{"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":"31a2dafa-75eb-4c07-b658-11ec63ad6edd"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"74a1556a-04d3-422e-aae2-f350ac2696e8"}]},"level":"info","message":"Built pairwise service configurations","requestID":"4d273cc01daadea60daa4a1e631023d2"} 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/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b"},{"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/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"4d273cc01daadea60daa4a1e631023d2"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxM30.jN-0yRluMYE9L-tvnYdSiWpJlVC71fT2gviTs2ozQWQ","level":"info","message":"auth send jwt","requestID":"686452a4f49c0eeeecac2e02f1a17223"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"912da780-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"686452a4f49c0eeeecac2e02f1a17223","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"686452a4f49c0eeeecac2e02f1a17223"} authorization-1 | {"client_addr":"127.0.0.1:49546","level":"info","msg":"Received request.","req_id":546,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"client_addr":"127.0.0.1:49546","level":"info","msg":"Sent response.","req_id":546,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.769827,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":547,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"912da780-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836313,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxM30.jN-0yRluMYE9L-tvnYdSiWpJlVC71fT2gviTs2ozQWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"912da780-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":547,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.93852,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"686452a4f49c0eeeecac2e02f1a17223","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836313,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxM30.jN-0yRluMYE9L-tvnYdSiWpJlVC71fT2gviTs2ozQWQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"686452a4f49c0eeeecac2e02f1a17223","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:52.245056464Z"}]},"request_id":"43a04f81-d723-4465-b130-fd26a1ad492a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836313.6035159} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"686452a4f49c0eeeecac2e02f1a17223","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"686452a4f49c0eeeecac2e02f1a17223"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"43632950-43cd-4110-b46f-547ee2045906","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836313.6089785} device-1 | {"level":"info","message":"GET /devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb? 200 15ms","method":"GET","requestID":"686452a4f49c0eeeecac2e02f1a17223","responseTime":15,"status":200,"url":"/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"607b51b2-19f3-4723-b850-634a6afa3130","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836313.6092658} gateway-1 | {"time_local":"28/Aug/2024:09:11:53 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb? 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":"686452a4f49c0eeeecac2e02f1a17223"} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"912da780-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"912da780-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"912da780-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/b0ef2527-123c-47c9-ace6-48c09079e263'","requestID":"912da780-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/b0ef2527-123c-47c9-ace6-48c09079e263'","requestID":"912da780-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"912da780-651d-11ef-83ce-bd5a3df00b5c"} 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":"912da780-651d-11ef-83ce-bd5a3df00b5c","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":"912da780-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"4d273cc01daadea60daa4a1e631023d2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9139dc80-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":548,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b6a8b085-6cbd-4d47-839f-e35c6b189592","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836313.676787} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":548,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.886371,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9139dc80-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9139dc80-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9139dc80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b/signaling 200 9ms","method":"POST","requestID":"9139dc80-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"913b8a30-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":549,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c59f1eb3-74b6-4402-ba52-595c9962d398","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836313.6876247} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":549,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.880142,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:53Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"913b8a30-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"913b8a30-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"913b8a30-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb/signaling 200 9ms","method":"POST","requestID":"913b8a30-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb/signaling"} device-1 | {"device":"df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","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":"b0ef2527-123c-47c9-ace6-48c09079e263","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","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":"b0ef2527-123c-47c9-ace6-48c09079e263","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","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":"d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","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":"d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","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":"d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","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/b0ef2527-123c-47c9-ace6-48c09079e263' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b0ef2527-123c-47c9-ace6-48c09079e263","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"47c96d6282cd1316bd42b65725f90d0d","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"47c96d6282cd1316bd42b65725f90d0d","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/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b"},{"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/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/b0ef2527-123c-47c9-ace6-48c09079e263"}}},"level":"info","message":"received a callback","requestID":"47c96d6282cd1316bd42b65725f90d0d"} device-1 | {"device":"df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","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":"df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","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":"df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","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 12ms","method":"POST","requestID":"47c96d6282cd1316bd42b65725f90d0d","responseTime":12,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.016","http_referrer":"","http_user_agent":"node-fetch","requestID":"47c96d6282cd1316bd42b65725f90d0d"} device-1 | {"device":"d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","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":"df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","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":"d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","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":"df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","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":"b0ef2527-123c-47c9-ace6-48c09079e263","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"b0ef2527-123c-47c9-ace6-48c09079e263","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/b0ef2527-123c-47c9-ace6-48c09079e263' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b0ef2527-123c-47c9-ace6-48c09079e263","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e78d6e706d1ceb5d1e714ac460a827e4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"e78d6e706d1ceb5d1e714ac460a827e4","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/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b"},{"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/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/b0ef2527-123c-47c9-ace6-48c09079e263"}}},"level":"info","message":"received a callback","requestID":"e78d6e706d1ceb5d1e714ac460a827e4"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxNX0.5iu9Jd9qz69dQSyuTXWWuV0XQlyLMkR1992VC7pr-UI","level":"info","message":"auth send jwt","requestID":"0a6d81966b560f2d0fd562a26692c582"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0a6d81966b560f2d0fd562a26692c582","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"9280b460-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/22779a70-043e-49b2-9328-0290850ff51d","requestID":"0a6d81966b560f2d0fd562a26692c582"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":550,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:55Z"} authorization-1 | {"client_addr":"127.0.0.1:49546","level":"info","msg":"Received request.","req_id":551,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:55Z"} authorization-1 | {"client_addr":"127.0.0.1:49546","level":"info","msg":"Sent response.","req_id":551,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.64761,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"0a6d81966b560f2d0fd562a26692c582","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836315,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxNX0.5iu9Jd9qz69dQSyuTXWWuV0XQlyLMkR1992VC7pr-UI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0a6d81966b560f2d0fd562a26692c582","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb0ef2527-123c-47c9-ace6-48c09079e263","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1407f566-5cd8-449b-872e-0833948800d9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836315.8191023} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":550,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.345578,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b0ef2527-123c-47c9-ace6-48c09079e263","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9280b460-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/b0ef2527-123c-47c9-ace6-48c09079e263","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":"9280b460-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"9280b460-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/b0ef2527-123c-47c9-ace6-48c09079e263 200 10ms","method":"GET","requestID":"9280b460-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/peerconnections/b0ef2527-123c-47c9-ace6-48c09079e263"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/22779a70-043e-49b2-9328-0290850ff51d","requestID":"0a6d81966b560f2d0fd562a26692c582"} gateway-1 | {"time_local":"28/Aug/2024:09:11:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/22779a70-043e-49b2-9328-0290850ff51d HTTP/1.1","status": "200","body_bytes_sent":"1366","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"0a6d81966b560f2d0fd562a26692c582"} experiment-1 | {"level":"info","message":"GET /experiments/22779a70-043e-49b2-9328-0290850ff51d 200 17ms","method":"GET","requestID":"0a6d81966b560f2d0fd562a26692c582","responseTime":17,"status":200,"url":"/experiments/22779a70-043e-49b2-9328-0290850ff51d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 52ms","method":"POST","requestID":"e78d6e706d1ceb5d1e714ac460a827e4","responseTime":52,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.055","http_referrer":"","http_user_agent":"node-fetch","requestID":"e78d6e706d1ceb5d1e714ac460a827e4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9287e050-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":552,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:55Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"872fc385-ff52-4f5e-9ef9-6ffc6b271de0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836315.8655105} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":552,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.57744,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9287e050-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9287e050-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9287e050-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b/signaling 200 9ms","method":"POST","requestID":"9287e050-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"92898e00-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":553,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:55Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a4f31f3d-2b7e-48fa-8ecc-4d2e743cef3b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836315.8764124} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":553,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.263577,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:55Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"92898e00-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"92898e00-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"92898e00-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb/signaling 200 9ms","method":"POST","requestID":"92898e00-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxNX0.5iu9Jd9qz69dQSyuTXWWuV0XQlyLMkR1992VC7pr-UI","level":"info","message":"auth send jwt","requestID":"6c06fb29d389b79cb7c941c6ed7c5701"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"6c06fb29d389b79cb7c941c6ed7c5701","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/22779a70-043e-49b2-9328-0290850ff51d","requestID":"6c06fb29d389b79cb7c941c6ed7c5701"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":554,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:55Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":554,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.719904,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:55Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6c06fb29d389b79cb7c941c6ed7c5701","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836315,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxNX0.5iu9Jd9qz69dQSyuTXWWuV0XQlyLMkR1992VC7pr-UI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"6c06fb29d389b79cb7c941c6ed7c5701","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/22779a70-043e-49b2-9328-0290850ff51d","requestID":"6c06fb29d389b79cb7c941c6ed7c5701"} gateway-1 | {"time_local":"28/Aug/2024:09:11:55 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/22779a70-043e-49b2-9328-0290850ff51d HTTP/1.1","status": "200","body_bytes_sent":"1368","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6c06fb29d389b79cb7c941c6ed7c5701"} experiment-1 | {"level":"info","message":"GET /experiments/22779a70-043e-49b2-9328-0290850ff51d 200 9ms","method":"GET","requestID":"6c06fb29d389b79cb7c941c6ed7c5701","responseTime":9,"status":200,"url":"/experiments/22779a70-043e-49b2-9328-0290850ff51d"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxNX0.5iu9Jd9qz69dQSyuTXWWuV0XQlyLMkR1992VC7pr-UI","level":"info","message":"auth send jwt","requestID":"7e184d4fdbe08f1f9eece90c4d71e67e"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7e184d4fdbe08f1f9eece90c4d71e67e","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/22779a70-043e-49b2-9328-0290850ff51d","requestID":"7e184d4fdbe08f1f9eece90c4d71e67e"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":555,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:55Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":555,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.717954,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:55Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7e184d4fdbe08f1f9eece90c4d71e67e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836315,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxNX0.5iu9Jd9qz69dQSyuTXWWuV0XQlyLMkR1992VC7pr-UI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"7e184d4fdbe08f1f9eece90c4d71e67e","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d"},"level":"info","message":"Attempting to finish experiment","requestID":"7e184d4fdbe08f1f9eece90c4d71e67e"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"9296fb80-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":556,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:55Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":556,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.798525,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:55Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b0ef2527-123c-47c9-ace6-48c09079e263","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9296fb80-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/b0ef2527-123c-47c9-ace6-48c09079e263","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836315,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxNX0.5iu9Jd9qz69dQSyuTXWWuV0XQlyLMkR1992VC7pr-UI"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9296fb80-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"device":"d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","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":"d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","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":"d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","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":"df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","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":"df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","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":"df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","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/b0ef2527-123c-47c9-ace6-48c09079e263' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/b0ef2527-123c-47c9-ace6-48c09079e263' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b0ef2527-123c-47c9-ace6-48c09079e263","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb0ef2527-123c-47c9-ace6-48c09079e263': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb0ef2527-123c-47c9-ace6-48c09079e263","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"7c1a578a-7a81-4d44-9103-94aa69c82f29","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836315.9780483} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"1ed23b1ee11382419db0388f64b3884c","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"1ed23b1ee11382419db0388f64b3884c","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"69ea541e-1456-43c4-a418-44383b58ab66","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836315.978431} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a619369cf48b50079cc44bd777d526a4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"9296fb80-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"a619369cf48b50079cc44bd777d526a4","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":"closed","url":"http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b"},{"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/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b0ef2527-123c-47c9-ace6-48c09079e263"}}},"level":"info","message":"received a callback","requestID":"1ed23b1ee11382419db0388f64b3884c"} 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/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b"},{"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/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b0ef2527-123c-47c9-ace6-48c09079e263"}}},"level":"info","message":"received a callback","requestID":"a619369cf48b50079cc44bd777d526a4"} device-1 | {"data":{"peerconnection":"b0ef2527-123c-47c9-ace6-48c09079e263","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"9296fb80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/b0ef2527-123c-47c9-ace6-48c09079e263 204 398ms","method":"DELETE","requestID":"9296fb80-651d-11ef-83ce-bd5a3df00b5c","responseTime":398,"status":204,"url":"/peerconnections/b0ef2527-123c-47c9-ace6-48c09079e263"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/22779a70-043e-49b2-9328-0290850ff51d"},"level":"info","message":"Successfully finished experiment","requestID":"7e184d4fdbe08f1f9eece90c4d71e67e"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"92e91320-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":557,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:56Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"541a516e-0aa1-4977-b25a-83467803eb81","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836316.503098} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":557,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.363263,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:56Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"92e91320-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"92e91320-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"92e91320-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b/signaling 200 9ms","method":"POST","requestID":"92e91320-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"92eae7e0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":558,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:56Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fdf9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fa182561-7739-4897-8aca-48602ee34ebf","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836316.5143301} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":558,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.174203,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:56Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"92eae7e0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"92eae7e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"92eae7e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb/signaling 200 8ms","method":"POST","requestID":"92eae7e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F22779a70-043e-49b2-9328-0290850ff51d': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F22779a70-043e-49b2-9328-0290850ff51d","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"547bcad8-8a50-42ce-80c9-385abe497f87","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836316.6199749} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8ffb72b8-28cd-4105-8628-fc8486928315","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836316.620158} authorization-1 | {"level":"info","message":"POST /relations/update 200 124ms","method":"POST","requestID":"7e184d4fdbe08f1f9eece90c4d71e67e","responseTime":124,"status":200,"url":"/relations/update"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/22779a70-043e-49b2-9328-0290850ff51d","requestID":"7e184d4fdbe08f1f9eece90c4d71e67e"} gateway-1 | {"time_local":"28/Aug/2024:09:11:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/22779a70-043e-49b2-9328-0290850ff51d HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"1.405","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"7e184d4fdbe08f1f9eece90c4d71e67e"} gateway-1 | {"time_local":"28/Aug/2024:09:11:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2747","request_time":"4.305","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"5e9fba3e52ad6a1be3c882321e72152f"} gateway-1 | {"time_local":"28/Aug/2024:09:11:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2745","request_time":"4.231","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"f27999c5b153d6e689d73b1f93dd2ba0"} experiment-1 | {"level":"info","message":"DELETE /experiments/22779a70-043e-49b2-9328-0290850ff51d 204 1403ms","method":"DELETE","requestID":"7e184d4fdbe08f1f9eece90c4d71e67e","responseTime":1403,"status":204,"url":"/experiments/22779a70-043e-49b2-9328-0290850ff51d"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 1375ms","method":"POST","requestID":"1ed23b1ee11382419db0388f64b3884c","responseTime":1375,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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":"1.379","http_referrer":"","http_user_agent":"node-fetch","requestID":"1ed23b1ee11382419db0388f64b3884c"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 1375ms","method":"POST","requestID":"a619369cf48b50079cc44bd777d526a4","responseTime":1375,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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":"1.380","http_referrer":"","http_user_agent":"node-fetch","requestID":"a619369cf48b50079cc44bd777d526a4"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/df9d8eb4-3c32-4c1d-b005-bc6e26f53aeb' closed"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxN30.GfoJKKRDiskUHdACLtM4OsTH1RzGCJKoKia1p_gvP0w","level":"info","message":"auth send jwt","requestID":"6a56089fc80fc5554e182cc6cc6ff5fe"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"6a56089fc80fc5554e182cc6cc6ff5fe","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"6a56089fc80fc5554e182cc6cc6ff5fe"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":559,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:57Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":559,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.974967,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:57Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6a56089fc80fc5554e182cc6cc6ff5fe","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836317,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxN30.GfoJKKRDiskUHdACLtM4OsTH1RzGCJKoKia1p_gvP0w"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"6a56089fc80fc5554e182cc6cc6ff5fe","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/d7c8f3c8-22b9-4233-a9c5-4ede0f451a6b' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc4a17395-2455-4180-8ecf-72b91f74dd3c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"fed1d337-7f2e-49da-9494-2e8d76f38b2a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836317.5932915} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6a56089fc80fc5554e182cc6cc6ff5fe","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d91e1ab7-d4b7-4970-b013-8eefb7fc5bdb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836317.598234} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"6a56089fc80fc5554e182cc6cc6ff5fe","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc4a17395-2455-4180-8ecf-72b91f74dd3c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"90f3dcc0-62a3-4814-a9c3-b6b07af0a0bf","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836317.7381191} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0857f3d8-e6ad-4bcc-b3c4-37d6fe614717","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836317.7384472} authorization-1 | {"level":"info","message":"POST /relations/update 200 143ms","method":"POST","requestID":"6a56089fc80fc5554e182cc6cc6ff5fe","responseTime":143,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc4a17395-2455-4180-8ecf-72b91f74dd3c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc4a17395-2455-4180-8ecf-72b91f74dd3c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:57.738085238Z"}]},"request_id":"67d9aa2f-e8ac-4c8a-8fd4-d18b749f3dbe","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836317.7436662} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"6a56089fc80fc5554e182cc6cc6ff5fe","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"6a56089fc80fc5554e182cc6cc6ff5fe"} gateway-1 | {"time_local":"28/Aug/2024:09:11:57 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.392","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6a56089fc80fc5554e182cc6cc6ff5fe"} device-1 | {"level":"info","message":"POST /devices? 201 385ms","method":"POST","requestID":"6a56089fc80fc5554e182cc6cc6ff5fe","responseTime":385,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxN30.GfoJKKRDiskUHdACLtM4OsTH1RzGCJKoKia1p_gvP0w","level":"info","message":"auth send jwt","requestID":"5d3bf7e786bcb12ae54c43144c66e5d3"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"5d3bf7e786bcb12ae54c43144c66e5d3","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"5d3bf7e786bcb12ae54c43144c66e5d3"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":560,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:57Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":560,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":2.031116,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:57Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"5d3bf7e786bcb12ae54c43144c66e5d3","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836317,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxN30.GfoJKKRDiskUHdACLtM4OsTH1RzGCJKoKia1p_gvP0w"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"5d3bf7e786bcb12ae54c43144c66e5d3","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"cf6a9dcc-5afd-4255-ba10-b5d3a05d66c2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836317.8877914} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5d3bf7e786bcb12ae54c43144c66e5d3","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2827136f-987c-49d4-8adc-86049b16a243","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836317.891971} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"5d3bf7e786bcb12ae54c43144c66e5d3","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"19afaccc-3758-418f-9193-521e6f55c267","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836318.0159006} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7b94159c-98c6-4791-a1d0-8d9eb11b6481","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836318.015998} authorization-1 | {"level":"info","message":"POST /relations/update 200 126ms","method":"POST","requestID":"5d3bf7e786bcb12ae54c43144c66e5d3","responseTime":126,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:58.015879360Z"}]},"request_id":"a99c20d6-a7a1-46aa-acee-a4e1d70c333c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836318.019933} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"5d3bf7e786bcb12ae54c43144c66e5d3","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"5d3bf7e786bcb12ae54c43144c66e5d3"} gateway-1 | {"time_local":"28/Aug/2024:09:11: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.274","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"5d3bf7e786bcb12ae54c43144c66e5d3"} device-1 | {"level":"info","message":"POST /devices? 201 267ms","method":"POST","requestID":"5d3bf7e786bcb12ae54c43144c66e5d3","responseTime":267,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"3440a9ea1805aea8ff8d6cf653379ab0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"3440a9ea1805aea8ff8d6cf653379ab0","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c/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":"3440a9ea1805aea8ff8d6cf653379ab0"} device-1 | {"level":"info","message":"OPTIONS /devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c/websocket 200 0ms","method":"OPTIONS","requestID":"3440a9ea1805aea8ff8d6cf653379ab0","responseTime":0,"status":200,"url":"/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxOX0.lghtr_HMQ2xEInxyW0G9hBLpCsJX_AswJwBQxnQNOaU","level":"info","message":"auth send jwt","requestID":"9da8c1f87ae8fcc39790de0feff7b2c4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9da8c1f87ae8fcc39790de0feff7b2c4","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"9da8c1f87ae8fcc39790de0feff7b2c4"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":561,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:59Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":561,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.716808,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:59Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9da8c1f87ae8fcc39790de0feff7b2c4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836319,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxOX0.lghtr_HMQ2xEInxyW0G9hBLpCsJX_AswJwBQxnQNOaU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9da8c1f87ae8fcc39790de0feff7b2c4","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d897e6705e421af8aeb778eb5be96b48","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d897e6705e421af8aeb778eb5be96b48","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:11:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/c4a17395-2455-4180-8ecf-72b91f74dd3c/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":"d897e6705e421af8aeb778eb5be96b48"} device-1 | {"level":"info","message":"OPTIONS /devices/c4a17395-2455-4180-8ecf-72b91f74dd3c/websocket 200 1ms","method":"OPTIONS","requestID":"d897e6705e421af8aeb778eb5be96b48","responseTime":1,"status":200,"url":"/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"9da8c1f87ae8fcc39790de0feff7b2c4"} gateway-1 | {"time_local":"28/Aug/2024:09:11:59 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.041","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"9da8c1f87ae8fcc39790de0feff7b2c4"} device-1 | {"level":"info","message":"POST /devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c/websocket 200 35ms","method":"POST","requestID":"9da8c1f87ae8fcc39790de0feff7b2c4","responseTime":35,"status":200,"url":"/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxOX0.lghtr_HMQ2xEInxyW0G9hBLpCsJX_AswJwBQxnQNOaU","level":"info","message":"auth send jwt","requestID":"9b3120f85e9932240b6bafb750674000"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9b3120f85e9932240b6bafb750674000","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"9b3120f85e9932240b6bafb750674000"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":562,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:11:59Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":562,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.70923,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:11:59Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9b3120f85e9932240b6bafb750674000","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836319,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMxOX0.lghtr_HMQ2xEInxyW0G9hBLpCsJX_AswJwBQxnQNOaU"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9b3120f85e9932240b6bafb750674000","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"device 'http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c' connected"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"9b3120f85e9932240b6bafb750674000"} gateway-1 | {"time_local":"28/Aug/2024:09:12:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/c4a17395-2455-4180-8ecf-72b91f74dd3c/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":"9b3120f85e9932240b6bafb750674000"} device-1 | {"level":"info","message":"POST /devices/c4a17395-2455-4180-8ecf-72b91f74dd3c/websocket 200 40ms","method":"POST","requestID":"9b3120f85e9932240b6bafb750674000","responseTime":40,"status":200,"url":"/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U","level":"info","message":"auth send jwt","requestID":"dd680dafed968af5026a5ba7c97b4f37"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"dd680dafed968af5026a5ba7c97b4f37","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dd680dafed968af5026a5ba7c97b4f37"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":563,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":563,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.851157,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"dd680dafed968af5026a5ba7c97b4f37","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836320,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"dd680dafed968af5026a5ba7c97b4f37","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc4a17395-2455-4180-8ecf-72b91f74dd3c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc4a17395-2455-4180-8ecf-72b91f74dd3c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:57.738085238Z"}]},"request_id":"feb7507e-c424-40a7-b78b-b7fb64c32056","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.0828485} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"dd680dafed968af5026a5ba7c97b4f37","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dd680dafed968af5026a5ba7c97b4f37"} device-1 | {"level":"info","message":"GET /devices/c4a17395-2455-4180-8ecf-72b91f74dd3c? 200 18ms","method":"GET","requestID":"dd680dafed968af5026a5ba7c97b4f37","responseTime":18,"status":200,"url":"/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c?"} gateway-1 | {"time_local":"28/Aug/2024:09:12:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c4a17395-2455-4180-8ecf-72b91f74dd3c? 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":"dd680dafed968af5026a5ba7c97b4f37"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U","level":"info","message":"auth send jwt","requestID":"711f8ec71e250218e7d0b168102a15ce"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"711f8ec71e250218e7d0b168102a15ce","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"711f8ec71e250218e7d0b168102a15ce"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":564,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":564,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.963769,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"711f8ec71e250218e7d0b168102a15ce","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836320,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"711f8ec71e250218e7d0b168102a15ce","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:58.015879360Z"}]},"request_id":"c93de344-af4d-4119-8d5f-7bbcf2d5bdc6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.1066766} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"711f8ec71e250218e7d0b168102a15ce","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"711f8ec71e250218e7d0b168102a15ce"} device-1 | {"level":"info","message":"GET /devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c? 200 13ms","method":"GET","requestID":"711f8ec71e250218e7d0b168102a15ce","responseTime":13,"status":200,"url":"/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c?"} gateway-1 | {"time_local":"28/Aug/2024:09:12:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c? 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":"711f8ec71e250218e7d0b168102a15ce"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U","level":"info","message":"auth send jwt","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":565,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":565,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.722176,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"2bebfe7ef563c285cd62dfb85a0fdd93","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836320,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93","responseTime":2,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658"},"level":"info","message":"Attempting to run experiment","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658"},"level":"info","message":"Attempting to book experiment","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658"},"level":"info","message":"Successfully booked experiment","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"951ae740-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"951b0e50-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":566,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":566,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.73135,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"client_addr":"127.0.0.1:49546","level":"info","msg":"Received request.","req_id":567,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"951ae740-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836320,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"951ae740-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:49546","level":"info","msg":"Sent response.","req_id":567,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.897337,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"951b0e50-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836320,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"951b0e50-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc4a17395-2455-4180-8ecf-72b91f74dd3c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc4a17395-2455-4180-8ecf-72b91f74dd3c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:57.738085238Z"}]},"request_id":"c5dcd0b3-4ba6-4230-979b-513d58401355","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.1898084} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"951ae740-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:58.015879360Z"}]},"request_id":"6d8bca82-c740-413d-964a-f54163dd7879","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.190931} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"951b0e50-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"951ae740-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/c4a17395-2455-4180-8ecf-72b91f74dd3c? 200 17ms","method":"GET","requestID":"951ae740-651d-11ef-83ce-bd5a3df00b5c","responseTime":17,"status":200,"url":"/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"951b0e50-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c? 200 17ms","method":"GET","requestID":"951b0e50-651d-11ef-83ce-bd5a3df00b5c","responseTime":17,"status":200,"url":"/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658"},"level":"info","message":"Setting up experiment","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658"},"level":"info","message":"Successfully locked booking for experiment","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658"},"level":"info","message":"Attempting to update booking for experiment","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658"},"level":"info","message":"Successfully updated booking for experiment","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658"},"level":"info","message":"Successfully set up experiment","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"952a9eb0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"952aecd0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"952b3af0-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658"},"level":"info","message":"Successfully running experiment","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} authorization-1 | {"client_addr":"127.0.0.1:49546","level":"info","msg":"Received request.","req_id":568,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"client_addr":"127.0.0.1:49546","level":"info","msg":"Sent response.","req_id":568,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.357119,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":569,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"952a9eb0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836320,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"952a9eb0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":569,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.937375,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"952aecd0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836320,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"952aecd0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":570,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc4a17395-2455-4180-8ecf-72b91f74dd3c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc4a17395-2455-4180-8ecf-72b91f74dd3c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:57.738085238Z"}]},"request_id":"104ab2c7-6bcf-473c-9085-0a800595a73e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.2991161} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc4a17395-2455-4180-8ecf-72b91f74dd3c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"66b4fb34-d2d4-40b8-810d-29e10fb87346","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.2993178} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"952a9eb0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:58.015879360Z"}]},"request_id":"88deeb2c-9a84-4051-a867-bf4cd0d34c74","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.3004422} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":570,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.419138,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"952b3af0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c","object_type":"device","rebac_allow":false,"scope_allow":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":"952b3af0-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"952aecd0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"952a9eb0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/c4a17395-2455-4180-8ecf-72b91f74dd3c? 200 23ms","method":"GET","requestID":"952a9eb0-651d-11ef-83ce-bd5a3df00b5c","responseTime":23,"status":200,"url":"/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"952b3af0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/c4a17395-2455-4180-8ecf-72b91f74dd3c/signaling 200 21ms","method":"POST","requestID":"952b3af0-651d-11ef-83ce-bd5a3df00b5c","responseTime":21,"status":200,"url":"/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"952aecd0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c? 200 24ms","method":"GET","requestID":"952aecd0-651d-11ef-83ce-bd5a3df00b5c","responseTime":24,"status":200,"url":"/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"952ebd60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"952f0b80-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":571,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":572,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fbd32a2f-773f-41f5-92bb-6b7cc9e6ac1c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.3147962} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":571,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.246908,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"952ebd60-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","object_type":"device","rebac_allow":false,"scope_allow":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":"952ebd60-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc4a17395-2455-4180-8ecf-72b91f74dd3c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0235e6ed-075c-4cb3-a2c5-8dbec249ce11","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.316} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":572,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.298982,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"952f0b80-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c","object_type":"device","rebac_allow":false,"scope_allow":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":"952f0b80-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"952ebd60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c/signaling 200 10ms","method":"POST","requestID":"952ebd60-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"952f0b80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/c4a17395-2455-4180-8ecf-72b91f74dd3c/signaling 200 9ms","method":"POST","requestID":"952f0b80-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9530b930-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9aca3ff7-5468-429b-b94f-e5c98b438658#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9aca3ff7-5468-429b-b94f-e5c98b438658","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"41a24f5a-46a0-4f7c-9b95-5380bb23a85b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.3247406} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a74ff165-92ac-4e1f-8000-66bde9edf49b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.3249972} authorization-1 | {"level":"info","message":"POST /relations/update 200 35ms","method":"POST","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93","responseTime":35,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":573,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9771292b-eb33-4e7c-8619-0effa91aaced","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.3274097} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":573,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.345973,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9530b930-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9530b930-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9530b930-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c/signaling 200 9ms","method":"POST","requestID":"9530b930-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658"},"level":"info","message":"Building connection plan","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} 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":"91cb7ada-04cc-4045-aecb-eea659239e72"},{"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":"dd5206ae-848c-4a71-823a-c54863a4042a"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"3042d58e-4cb0-4360-a679-b4428aabcdb7"}]},"level":"info","message":"Built pairwise service configurations","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} 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/c4a17395-2455-4180-8ecf-72b91f74dd3c"},{"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/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"95328df0-651d-11ef-83ce-bd5a3df00b5c"} gateway-1 | {"time_local":"28/Aug/2024:09:12:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1211","request_time":"0.223","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} experiment-1 | {"level":"info","message":"POST /experiments? 201 220ms","method":"POST","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93","responseTime":220,"status":201,"url":"/experiments?"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":574,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":574,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":2.127581,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ad0697b68c2da243d3c003d1d3852d85"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U","level":"info","message":"auth send jwt","requestID":"ad0697b68c2da243d3c003d1d3852d85"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"95328df0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836320,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"95328df0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":575,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ad0697b68c2da243d3c003d1d3852d85","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":575,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.820664,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ad0697b68c2da243d3c003d1d3852d85","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836320,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ad0697b68c2da243d3c003d1d3852d85","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc4a17395-2455-4180-8ecf-72b91f74dd3c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc4a17395-2455-4180-8ecf-72b91f74dd3c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:57.738085238Z"}]},"request_id":"773ea891-715d-4a2a-9d39-47b557d1ffc8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.3531487} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ad0697b68c2da243d3c003d1d3852d85","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"a8181e91-2a66-4681-81bb-40ad1378eeff","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.3564982} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ad0697b68c2da243d3c003d1d3852d85"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6956812f-9112-4e98-9918-2fd0fdb1353b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.3567147} gateway-1 | {"time_local":"28/Aug/2024:09:12:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/c4a17395-2455-4180-8ecf-72b91f74dd3c? 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":"ad0697b68c2da243d3c003d1d3852d85"} device-1 | {"level":"info","message":"GET /devices/c4a17395-2455-4180-8ecf-72b91f74dd3c? 200 13ms","method":"GET","requestID":"ad0697b68c2da243d3c003d1d3852d85","responseTime":13,"status":200,"url":"/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c?"} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"95328df0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/relations/update"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U","level":"info","message":"auth send jwt","requestID":"eaa4a0b6ee9e960b4d60530721f023f4"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"eaa4a0b6ee9e960b4d60530721f023f4","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"eaa4a0b6ee9e960b4d60530721f023f4"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":576,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":576,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.921787,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"eaa4a0b6ee9e960b4d60530721f023f4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836320,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"eaa4a0b6ee9e960b4d60530721f023f4","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:11:58.015879360Z"}]},"request_id":"03a0028a-5da2-459b-97c4-ca87060084f2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.3704064} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"eaa4a0b6ee9e960b4d60530721f023f4","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"95328df0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"95328df0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf'","requestID":"95328df0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf'","requestID":"95328df0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"95328df0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 53ms","method":"POST","requestID":"95328df0-651d-11ef-83ce-bd5a3df00b5c","responseTime":53,"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":"eaa4a0b6ee9e960b4d60530721f023f4"} gateway-1 | {"time_local":"28/Aug/2024:09:12:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.031","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"eaa4a0b6ee9e960b4d60530721f023f4"} device-1 | {"level":"info","message":"GET /devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c? 200 27ms","method":"GET","requestID":"eaa4a0b6ee9e960b4d60530721f023f4","responseTime":27,"status":200,"url":"/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c?"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"95328df0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf","device":"c4a17395-2455-4180-8ecf-72b91f74dd3c","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/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf","device":"0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","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/9aca3ff7-5468-429b-b94f-e5c98b438658"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"2bebfe7ef563c285cd62dfb85a0fdd93"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"95402280-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":577,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc4a17395-2455-4180-8ecf-72b91f74dd3c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3ba53d5f-5b79-4d91-9917-be462e24e373","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.4294708} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":577,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.009342,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} device-1 | {"device":"0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","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/c4a17395-2455-4180-8ecf-72b91f74dd3c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"95402280-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c","object_type":"device","rebac_allow":false,"scope_allow":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":"95402280-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"95402280-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/c4a17395-2455-4180-8ecf-72b91f74dd3c/signaling 200 12ms","method":"POST","requestID":"95402280-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c/signaling"} device-1 | {"device":"c4a17395-2455-4180-8ecf-72b91f74dd3c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"c4a17395-2455-4180-8ecf-72b91f74dd3c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"95429380-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":578,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"31e6c28e-4cd4-43aa-b374-0ea217885e48","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.4446998} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":578,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.600763,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"95429380-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"95429380-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"95429380-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c/signaling 200 11ms","method":"POST","requestID":"95429380-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 432404500924811984 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:UIKV\r\na=ice-pwd:WeLF6q4mUTYfE8Leva6Pt1mb\r\na=ice-options:trickle\r\na=fingerprint:sha-256 51:4E:6C:4A:D6:14:5B:ED:C2:A4:3B:B6:D1:18:4B:DD:D5:2D:61:15:09:3E:FB:25:DD:55:CC:45:68:AB:28:4A\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 305955715932930951 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:9xc3\r\na=ice-pwd:I6DOUuxJB/1W/jZ/zWIVfYXO\r\na=ice-options:trickle\r\na=fingerprint:sha-256 03:84:B5:DD:0B:ED:AB:9C:4A:81:8F:3B:DC:9F:D7:59:48:32:4E:26:0D:3B:B7:ED:D3:EF:FB:87:57:0B:A2:E9\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"c4a17395-2455-4180-8ecf-72b91f74dd3c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1371997132 1 udp 2113937151 892ab5f6-25b3-41ad-8645-d7ed00a15191.local 48751 typ host generation 0 ufrag 9xc3 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"c4a17395-2455-4180-8ecf-72b91f74dd3c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1422855316 1 udp 1677729535 141.24.211.56 48751 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 9xc3 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"c4a17395-2455-4180-8ecf-72b91f74dd3c","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/c4a17395-2455-4180-8ecf-72b91f74dd3c'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c'"} device-1 | {"content":{"candidate":"candidate:822794296 1 udp 2113937151 5ffbaa88-7f5c-4116-850f-f9611aec1626.local 34201 typ host generation 0 ufrag UIKV network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:961713151 1 udp 1677729535 141.24.211.56 34201 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag UIKV network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","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/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c'"} device-1 | {"device":"c4a17395-2455-4180-8ecf-72b91f74dd3c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"c4a17395-2455-4180-8ecf-72b91f74dd3c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"0af33cfec5228601e52fab77ac948f89","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"c4a17395-2455-4180-8ecf-72b91f74dd3c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"0af33cfec5228601e52fab77ac948f89","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/c4a17395-2455-4180-8ecf-72b91f74dd3c"},{"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/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf"}}},"level":"info","message":"received a callback","requestID":"0af33cfec5228601e52fab77ac948f89"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"0af33cfec5228601e52fab77ac948f89","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.010","http_referrer":"","http_user_agent":"node-fetch","requestID":"0af33cfec5228601e52fab77ac948f89"} device-1 | {"device":"c4a17395-2455-4180-8ecf-72b91f74dd3c","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf","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/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"33791b384f3614401654cfec0b867bf7","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"33791b384f3614401654cfec0b867bf7","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/c4a17395-2455-4180-8ecf-72b91f74dd3c"},{"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/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf"}}},"level":"info","message":"received a callback","requestID":"33791b384f3614401654cfec0b867bf7"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"95502810-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":579,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb5a4896d-3fc1-4bd6-8c8e-b996edf9edaf","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"888d1dd3-c0de-4fe2-a4aa-e44010a77bb3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.5340848} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":579,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.163066,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"95502810-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf","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":"95502810-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"95502810-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf 200 12ms","method":"GET","requestID":"95502810-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/peerconnections/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 34ms","method":"POST","requestID":"33791b384f3614401654cfec0b867bf7","responseTime":34,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.036","http_referrer":"","http_user_agent":"node-fetch","requestID":"33791b384f3614401654cfec0b867bf7"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9554bbf0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":580,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc4a17395-2455-4180-8ecf-72b91f74dd3c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a46e76ae-eace-411a-b616-71bf8abec0ad","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.5637019} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":580,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.460546,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9554bbf0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9554bbf0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9554bbf0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/c4a17395-2455-4180-8ecf-72b91f74dd3c/signaling 200 8ms","method":"POST","requestID":"9554bbf0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"95564290-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":581,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"302f258f-8456-4e31-9cca-6bf8a57dac4e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.5729594} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":581,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.149429,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"95564290-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","object_type":"device","rebac_allow":false,"scope_allow":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":"95564290-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"95564290-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c/signaling 200 8ms","method":"POST","requestID":"95564290-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U","level":"info","message":"auth send jwt","requestID":"df568cf9b7b8e32c990056e094cbbf6e"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"df568cf9b7b8e32c990056e094cbbf6e","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/9aca3ff7-5468-429b-b94f-e5c98b438658","requestID":"df568cf9b7b8e32c990056e094cbbf6e"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":582,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":582,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.644398,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"df568cf9b7b8e32c990056e094cbbf6e","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836320,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"df568cf9b7b8e32c990056e094cbbf6e","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/9aca3ff7-5468-429b-b94f-e5c98b438658","requestID":"df568cf9b7b8e32c990056e094cbbf6e"} experiment-1 | {"level":"info","message":"GET /experiments/9aca3ff7-5468-429b-b94f-e5c98b438658 200 8ms","method":"GET","requestID":"df568cf9b7b8e32c990056e094cbbf6e","responseTime":8,"status":200,"url":"/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658"} gateway-1 | {"time_local":"28/Aug/2024:09:12:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/9aca3ff7-5468-429b-b94f-e5c98b438658 HTTP/1.1","status": "200","body_bytes_sent":"1284","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"df568cf9b7b8e32c990056e094cbbf6e"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U","level":"info","message":"auth send jwt","requestID":"d69fb8d8539251d958be317716b225e2"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"d69fb8d8539251d958be317716b225e2","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/9aca3ff7-5468-429b-b94f-e5c98b438658","requestID":"d69fb8d8539251d958be317716b225e2"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":583,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":583,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.658884,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"d69fb8d8539251d958be317716b225e2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836320,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d69fb8d8539251d958be317716b225e2","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658"},"level":"info","message":"Attempting to finish experiment","requestID":"d69fb8d8539251d958be317716b225e2"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"955ece10-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":584,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":584,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.710665,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"955ece10-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836320,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"955ece10-651d-11ef-83ce-bd5a3df00b5c","responseTime":2,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"00ea493a0b0a4a68be504af90230f21a","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb5a4896d-3fc1-4bd6-8c8e-b996edf9edaf': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb5a4896d-3fc1-4bd6-8c8e-b996edf9edaf","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"708f8d4a-f5be-492d-b154-67c26a239fa3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.6397223} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"00ea493a0b0a4a68be504af90230f21a","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"128551de-1d93-4875-8482-94d068ce3c89","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.6400402} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d0cfb0b2202dcefd7295590b4b5be85b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d0cfb0b2202dcefd7295590b4b5be85b","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":"closed","url":"http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c"},{"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/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf"}}},"level":"info","message":"received a callback","requestID":"00ea493a0b0a4a68be504af90230f21a"} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"955ece10-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c"},{"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/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf"}}},"level":"info","message":"received a callback","requestID":"d0cfb0b2202dcefd7295590b4b5be85b"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf","device":"c4a17395-2455-4180-8ecf-72b91f74dd3c","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf","device":"0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","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/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"955ece10-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf 204 55ms","method":"DELETE","requestID":"955ece10-651d-11ef-83ce-bd5a3df00b5c","responseTime":55,"status":204,"url":"/peerconnections/b5a4896d-3fc1-4bd6-8c8e-b996edf9edaf"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658"},"level":"info","message":"Successfully finished experiment","requestID":"d69fb8d8539251d958be317716b225e2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"956b2a20-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":585,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fc4a17395-2455-4180-8ecf-72b91f74dd3c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2c110941-2095-4c6d-a350-b0650f20c2fd","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.7106686} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":585,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.58971,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"956b2a20-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"956b2a20-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"956b2a20-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/c4a17395-2455-4180-8ecf-72b91f74dd3c/signaling 200 9ms","method":"POST","requestID":"956b2a20-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/c4a17395-2455-4180-8ecf-72b91f74dd3c/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"956cd7d0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":586,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3a5721d9-6025-4a37-8adf-7308cee0df35","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.7214851} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":586,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.473627,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"956cd7d0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"956cd7d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9aca3ff7-5468-429b-b94f-e5c98b438658': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F9aca3ff7-5468-429b-b94f-e5c98b438658","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"73e62bbe-298d-4a4c-8b04-d77fe35fc2eb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.7238462} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6766f572-0534-49b7-80d4-b4e6e596d029","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.724162} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"d69fb8d8539251d958be317716b225e2","responseTime":21,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"956cd7d0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c/signaling 200 10ms","method":"POST","requestID":"956cd7d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/9aca3ff7-5468-429b-b94f-e5c98b438658","requestID":"d69fb8d8539251d958be317716b225e2"} gateway-1 | {"time_local":"28/Aug/2024:09:12:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/9aca3ff7-5468-429b-b94f-e5c98b438658 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":"d69fb8d8539251d958be317716b225e2"} experiment-1 | {"level":"info","message":"DELETE /experiments/9aca3ff7-5468-429b-b94f-e5c98b438658 204 201ms","method":"DELETE","requestID":"d69fb8d8539251d958be317716b225e2","responseTime":201,"status":204,"url":"/experiments/9aca3ff7-5468-429b-b94f-e5c98b438658"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 177ms","method":"POST","requestID":"00ea493a0b0a4a68be504af90230f21a","responseTime":177,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.180","http_referrer":"","http_user_agent":"node-fetch","requestID":"00ea493a0b0a4a68be504af90230f21a"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 177ms","method":"POST","requestID":"d0cfb0b2202dcefd7295590b4b5be85b","responseTime":177,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.181","http_referrer":"","http_user_agent":"node-fetch","requestID":"d0cfb0b2202dcefd7295590b4b5be85b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U","level":"info","message":"auth send jwt","requestID":"f831aee180205a21c1ac3de614d0f54d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"f831aee180205a21c1ac3de614d0f54d","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"f831aee180205a21c1ac3de614d0f54d"} gateway-1 | {"time_local":"28/Aug/2024:09:12:00 +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.832","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"c8b465ab6e26cfcd2e6a2c8235088785"} gateway-1 | {"time_local":"28/Aug/2024:09:12:00 +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.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":"fa9ed08f7057050f73b963fd88801bbe"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":587,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":587,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.044184,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"f831aee180205a21c1ac3de614d0f54d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836320,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"f831aee180205a21c1ac3de614d0f54d","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/0b28e7c2-e54c-4ec7-abb6-ddd58bd68e2c' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"90c80c12-42cf-4494-b464-6e2f996ea741","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.8376904} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"f831aee180205a21c1ac3de614d0f54d","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a020c310-cab5-458c-b39d-498932e8186d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.842591} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"f831aee180205a21c1ac3de614d0f54d","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/c4a17395-2455-4180-8ecf-72b91f74dd3c' closed"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"31ab3c03-1df7-48e9-85a0-4423b89e4896","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.8611743} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0ca37e7a-3338-46b2-bfa9-a3ff1d815eac","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.8613203} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"f831aee180205a21c1ac3de614d0f54d","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:00.861151749Z"}]},"request_id":"2c053c7c-c982-4801-900a-d5c294113126","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.865038} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"f831aee180205a21c1ac3de614d0f54d","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"f831aee180205a21c1ac3de614d0f54d"} gateway-1 | {"time_local":"28/Aug/2024:09:12:00 +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":"f831aee180205a21c1ac3de614d0f54d"} device-1 | {"level":"info","message":"POST /devices? 201 44ms","method":"POST","requestID":"f831aee180205a21c1ac3de614d0f54d","responseTime":44,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U","level":"info","message":"auth send jwt","requestID":"e29478e4621ccb950b56a3832a7a98ee"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e29478e4621ccb950b56a3832a7a98ee","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"e29478e4621ccb950b56a3832a7a98ee"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":588,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":588,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.622771,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:00Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"e29478e4621ccb950b56a3832a7a98ee","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836320,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMH0.ZWRumH0NVyugaLlH-_r25PUnhCcdT3pA3mvD24lIb2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"e29478e4621ccb950b56a3832a7a98ee","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcee4e8b3-9b3a-4891-b8df-2836ff0653fb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"66a15e35-edc3-49f5-8ef5-e4f3563c5d0c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.8928037} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e29478e4621ccb950b56a3832a7a98ee","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"eab6bbd0-2390-45d7-af10-6f272ad68d89","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.8970165} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"e29478e4621ccb950b56a3832a7a98ee","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcee4e8b3-9b3a-4891-b8df-2836ff0653fb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"e6b9b508-0367-4cdf-921c-191798e18abd","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.91522} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e517e4a8-fa0b-4af6-8edf-360912c6c0e0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.9157314} authorization-1 | {"level":"info","message":"POST /relations/update 200 22ms","method":"POST","requestID":"e29478e4621ccb950b56a3832a7a98ee","responseTime":22,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcee4e8b3-9b3a-4891-b8df-2836ff0653fb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcee4e8b3-9b3a-4891-b8df-2836ff0653fb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:00.915188820Z"}]},"request_id":"a9a70e54-93cf-4199-8d4f-d9a81020d9de","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836320.9218001} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e29478e4621ccb950b56a3832a7a98ee","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e29478e4621ccb950b56a3832a7a98ee"} gateway-1 | {"time_local":"28/Aug/2024:09:12:00 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.056","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e29478e4621ccb950b56a3832a7a98ee"} device-1 | {"level":"info","message":"POST /devices? 201 52ms","method":"POST","requestID":"e29478e4621ccb950b56a3832a7a98ee","responseTime":52,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a67c0f1e16784ebbe04c34485b7209c4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"a67c0f1e16784ebbe04c34485b7209c4","responseTime":0,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:12:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3/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":"a67c0f1e16784ebbe04c34485b7209c4"} device-1 | {"level":"info","message":"OPTIONS /devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3/websocket 200 1ms","method":"OPTIONS","requestID":"a67c0f1e16784ebbe04c34485b7209c4","responseTime":1,"status":200,"url":"/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMn0.tvniomw25SRY8JNUmg53Q5RGBOlXyXULmDBI2pxD1Fg","level":"info","message":"auth send jwt","requestID":"45467b2788b4ca60b932ec590b79c529"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"45467b2788b4ca60b932ec590b79c529","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"45467b2788b4ca60b932ec590b79c529"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":589,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:02Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":589,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.671428,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:02Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"45467b2788b4ca60b932ec590b79c529","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836322,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMn0.tvniomw25SRY8JNUmg53Q5RGBOlXyXULmDBI2pxD1Fg"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"45467b2788b4ca60b932ec590b79c529","responseTime":2,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"36cfe4abc780aba431fe3ed9f6ee32a8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"36cfe4abc780aba431fe3ed9f6ee32a8","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:12:02 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb/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":"36cfe4abc780aba431fe3ed9f6ee32a8"} device-1 | {"level":"info","message":"OPTIONS /devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb/websocket 200 1ms","method":"OPTIONS","requestID":"36cfe4abc780aba431fe3ed9f6ee32a8","responseTime":1,"status":200,"url":"/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMn0.tvniomw25SRY8JNUmg53Q5RGBOlXyXULmDBI2pxD1Fg","level":"info","message":"auth send jwt","requestID":"8408000dacc8f8e3e76db08c04a4180f"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"8408000dacc8f8e3e76db08c04a4180f","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"8408000dacc8f8e3e76db08c04a4180f"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":590,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:02Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":590,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.700866,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:02Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8408000dacc8f8e3e76db08c04a4180f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836322,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyMn0.tvniomw25SRY8JNUmg53Q5RGBOlXyXULmDBI2pxD1Fg"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8408000dacc8f8e3e76db08c04a4180f","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"45467b2788b4ca60b932ec590b79c529"} device-1 | {"level":"info","message":"POST /devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3/websocket 200 253ms","method":"POST","requestID":"45467b2788b4ca60b932ec590b79c529","responseTime":253,"status":200,"url":"/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3/websocket"} gateway-1 | {"time_local":"28/Aug/2024:09:12:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.257","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"45467b2788b4ca60b932ec590b79c529"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"8408000dacc8f8e3e76db08c04a4180f"} gateway-1 | {"time_local":"28/Aug/2024:09:12:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.316","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"8408000dacc8f8e3e76db08c04a4180f"} device-1 | {"level":"info","message":"POST /devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb/websocket 200 312ms","method":"POST","requestID":"8408000dacc8f8e3e76db08c04a4180f","responseTime":312,"status":200,"url":"/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyM30.bcfEa4CU5qrE7TXpYwaz9D_kR40fh9IWjvtJhFpjpJw","level":"info","message":"auth send jwt","requestID":"ad7434526fc0933b6432859b116d5cc8"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ad7434526fc0933b6432859b116d5cc8","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ad7434526fc0933b6432859b116d5cc8"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":591,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:03Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":591,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.727962,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ad7434526fc0933b6432859b116d5cc8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836323,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyM30.bcfEa4CU5qrE7TXpYwaz9D_kR40fh9IWjvtJhFpjpJw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ad7434526fc0933b6432859b116d5cc8","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:00.861151749Z"}]},"request_id":"fc69377d-c61e-40a0-b197-718d58e3cf4a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836323.2701116} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ad7434526fc0933b6432859b116d5cc8","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ad7434526fc0933b6432859b116d5cc8"} device-1 | {"level":"info","message":"GET /devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3? 200 11ms","method":"GET","requestID":"ad7434526fc0933b6432859b116d5cc8","responseTime":11,"status":200,"url":"/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3?"} gateway-1 | {"time_local":"28/Aug/2024:09:12:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3? 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":"ad7434526fc0933b6432859b116d5cc8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyM30.bcfEa4CU5qrE7TXpYwaz9D_kR40fh9IWjvtJhFpjpJw","level":"info","message":"auth send jwt","requestID":"24d928d9450903fac5f6e93838f31f0f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"24d928d9450903fac5f6e93838f31f0f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"24d928d9450903fac5f6e93838f31f0f"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":592,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:03Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":592,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.850488,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"24d928d9450903fac5f6e93838f31f0f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836323,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyM30.bcfEa4CU5qrE7TXpYwaz9D_kR40fh9IWjvtJhFpjpJw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"24d928d9450903fac5f6e93838f31f0f","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcee4e8b3-9b3a-4891-b8df-2836ff0653fb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcee4e8b3-9b3a-4891-b8df-2836ff0653fb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:00.915188820Z"}]},"request_id":"a3bab00a-9044-4b70-9fb9-23140eb8c0a5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836323.2856052} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"24d928d9450903fac5f6e93838f31f0f","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"24d928d9450903fac5f6e93838f31f0f"} gateway-1 | {"time_local":"28/Aug/2024:09:12:03 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb? 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":"24d928d9450903fac5f6e93838f31f0f"} device-1 | {"level":"info","message":"GET /devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb? 200 11ms","method":"GET","requestID":"24d928d9450903fac5f6e93838f31f0f","responseTime":11,"status":200,"url":"/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyM30.bcfEa4CU5qrE7TXpYwaz9D_kR40fh9IWjvtJhFpjpJw","level":"info","message":"auth send jwt","requestID":"3796fba18d7a3b009dfd139f64e046ee"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"3796fba18d7a3b009dfd139f64e046ee","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"3796fba18d7a3b009dfd139f64e046ee"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":593,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:03Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":593,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.636791,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:03Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"3796fba18d7a3b009dfd139f64e046ee","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836323,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyM30.bcfEa4CU5qrE7TXpYwaz9D_kR40fh9IWjvtJhFpjpJw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3796fba18d7a3b009dfd139f64e046ee","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"},"level":"info","message":"Attempting to run experiment","requestID":"3796fba18d7a3b009dfd139f64e046ee"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"},"level":"info","message":"Attempting to book experiment","requestID":"3796fba18d7a3b009dfd139f64e046ee"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"},"level":"info","message":"Successfully booked experiment","requestID":"3796fba18d7a3b009dfd139f64e046ee"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"971c0e70-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"971c5c90-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":594,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:03Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":594,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.651824,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:03Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":595,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"971c0e70-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836323,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyM30.bcfEa4CU5qrE7TXpYwaz9D_kR40fh9IWjvtJhFpjpJw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"971c0e70-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":595,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.920538,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:03Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"971c5c90-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836323,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyM30.bcfEa4CU5qrE7TXpYwaz9D_kR40fh9IWjvtJhFpjpJw"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"971c5c90-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:00.861151749Z"}]},"request_id":"adca6f6f-da46-4b87-901e-e863b453f0cf","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836323.5526738} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"971c0e70-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcee4e8b3-9b3a-4891-b8df-2836ff0653fb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcee4e8b3-9b3a-4891-b8df-2836ff0653fb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:00.915188820Z"}]},"request_id":"5d9b117c-9b97-4ea2-a5b6-914cbabf6871","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836323.553781} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"971c5c90-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"971c0e70-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3? 200 16ms","method":"GET","requestID":"971c0e70-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"971c5c90-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb? 200 15ms","method":"GET","requestID":"971c5c90-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"},"level":"info","message":"Setting up experiment","requestID":"3796fba18d7a3b009dfd139f64e046ee"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"3796fba18d7a3b009dfd139f64e046ee"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"},"level":"info","message":"Successfully locked booking for experiment","requestID":"3796fba18d7a3b009dfd139f64e046ee"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"3796fba18d7a3b009dfd139f64e046ee"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"3796fba18d7a3b009dfd139f64e046ee"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"},"level":"info","message":"Attempting to update booking for experiment","requestID":"3796fba18d7a3b009dfd139f64e046ee"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"},"level":"info","message":"Successfully updated booking for experiment","requestID":"3796fba18d7a3b009dfd139f64e046ee"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"},"level":"info","message":"Successfully set up experiment","requestID":"3796fba18d7a3b009dfd139f64e046ee"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"977b9390-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"977bbaa0-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"},"level":"info","message":"Successfully running experiment","requestID":"3796fba18d7a3b009dfd139f64e046ee"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"977c08c0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":596,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:04Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":596,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.98775,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:04Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":597,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"977b9390-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836323,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyM30.bcfEa4CU5qrE7TXpYwaz9D_kR40fh9IWjvtJhFpjpJw"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"977b9390-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":597,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.891883,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:04Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":598,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"977bbaa0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836323,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyM30.bcfEa4CU5qrE7TXpYwaz9D_kR40fh9IWjvtJhFpjpJw"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"977bbaa0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":598,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.001368,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:04Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4ddfdf1b-c166-4d2b-853c-01cea829ddbe","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836324.1791332} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"977c08c0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","object_type":"device","rebac_allow":false,"scope_allow":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":"977c08c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"977c08c0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcee4e8b3-9b3a-4891-b8df-2836ff0653fb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcee4e8b3-9b3a-4891-b8df-2836ff0653fb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:00.915188820Z"}]},"request_id":"339713e5-76da-41e0-90a7-d5e1d5b517d6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836324.1846702} device-1 | {"level":"info","message":"POST /devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3/signaling 200 14ms","method":"POST","requestID":"977c08c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"977bbaa0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:00.861151749Z"}]},"request_id":"812dad79-a2c8-4e1b-bcd4-177663f93026","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836324.1865077} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"977b9390-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"977ec7e0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":599,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:04Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"977bbaa0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb? 200 24ms","method":"GET","requestID":"977bbaa0-651d-11ef-83ce-bd5a3df00b5c","responseTime":24,"status":200,"url":"/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"977b9390-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcee4e8b3-9b3a-4891-b8df-2836ff0653fb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"353eed52-9f3f-4011-89e7-5c1366892b7f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836324.195196} device-1 | {"level":"info","message":"GET /devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3? 200 26ms","method":"GET","requestID":"977b9390-651d-11ef-83ce-bd5a3df00b5c","responseTime":26,"status":200,"url":"/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3?"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":599,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.750334,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"977ec7e0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"977ec7e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"977fd950-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":600,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:04Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"977ec7e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb/signaling 200 12ms","method":"POST","requestID":"977ec7e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"68e6f379-0541-45fe-aa4d-c831bfaa74a5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836324.2032576} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":600,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.97093,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"977fd950-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","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":"977fd950-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3/signaling 200 11ms","method":"POST","requestID":"977fd950-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3/signaling"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"977fd950-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9781d520-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":601,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:04Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcee4e8b3-9b3a-4891-b8df-2836ff0653fb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e6a9569a-2759-435b-ba02-168f893725d7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836324.2148724} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":601,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.277064,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:04Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9781d520-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9781d520-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9781d520-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb/signaling 200 9ms","method":"POST","requestID":"9781d520-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"3796fba18d7a3b009dfd139f64e046ee"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"},"level":"info","message":"Building connection plan","requestID":"3796fba18d7a3b009dfd139f64e046ee"} 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":"f508fac6-9b5d-461e-85ae-9a9afed9799c"},{"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":"6b9708ae-f57c-42cb-a28e-a13af93528d8"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"050f5f70-2dac-4e66-ac36-a4a2c71c1c7e"}]},"level":"info","message":"Built pairwise service configurations","requestID":"3796fba18d7a3b009dfd139f64e046ee"} 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/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3"},{"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/cee4e8b3-9b3a-4891-b8df-2836ff0653fb"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"3796fba18d7a3b009dfd139f64e046ee"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"9783a9e0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":602,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:04Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":602,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.722506,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:04Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9783a9e0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836323,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyM30.bcfEa4CU5qrE7TXpYwaz9D_kR40fh9IWjvtJhFpjpJw"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9783a9e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbf545f99-b433-4cac-b752-5bf66fa5bd95#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbf545f99-b433-4cac-b752-5bf66fa5bd95","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"eed2930a-10cb-43a4-b259-a98b78a693b8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836324.2861755} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c47962c0-e7d3-4343-8913-ecca477b187f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836324.2870963} authorization-1 | {"level":"info","message":"POST /relations/update 200 113ms","method":"POST","requestID":"3796fba18d7a3b009dfd139f64e046ee","responseTime":113,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"5fe0e9e5-83ac-47a2-9dd4-bdba041d805f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836324.288065} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2a2ab2f7-299e-464f-85ad-1a9121ec10b4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836324.2916443} authorization-1 | {"level":"info","message":"POST /relations/update 200 62ms","method":"POST","requestID":"9783a9e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":62,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"3796fba18d7a3b009dfd139f64e046ee"} gateway-1 | {"time_local":"28/Aug/2024:09:12:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1211","request_time":"1.006","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3796fba18d7a3b009dfd139f64e046ee"} experiment-1 | {"level":"info","message":"POST /experiments? 201 1002ms","method":"POST","requestID":"3796fba18d7a3b009dfd139f64e046ee","responseTime":1002,"status":201,"url":"/experiments?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNH0.IYasizh4-EANInU-9uuWKr6q0e8tUAXY2MxXs8utbSs","level":"info","message":"auth send jwt","requestID":"388254b67f94368e5bcda2b8e7cc57ea"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"388254b67f94368e5bcda2b8e7cc57ea","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"388254b67f94368e5bcda2b8e7cc57ea"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":603,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:04Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":603,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.735859,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"388254b67f94368e5bcda2b8e7cc57ea","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836324,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNH0.IYasizh4-EANInU-9uuWKr6q0e8tUAXY2MxXs8utbSs"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"388254b67f94368e5bcda2b8e7cc57ea","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:00.861151749Z"}]},"request_id":"39c5e330-85de-4127-bcbb-c02a0daaefa5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836324.3106356} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"388254b67f94368e5bcda2b8e7cc57ea","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"9783a9e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"9783a9e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/935444b3-e322-4e6f-a8be-d955eadd86a3'","requestID":"9783a9e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/935444b3-e322-4e6f-a8be-d955eadd86a3'","requestID":"9783a9e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"9783a9e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 308ms","method":"POST","requestID":"9783a9e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":308,"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":"388254b67f94368e5bcda2b8e7cc57ea"} gateway-1 | {"time_local":"28/Aug/2024:09:12:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.235","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"388254b67f94368e5bcda2b8e7cc57ea"} device-1 | {"level":"info","message":"GET /devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3? 200 230ms","method":"GET","requestID":"388254b67f94368e5bcda2b8e7cc57ea","responseTime":230,"status":200,"url":"/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3?"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"9783a9e0-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNH0.IYasizh4-EANInU-9uuWKr6q0e8tUAXY2MxXs8utbSs","level":"info","message":"auth send jwt","requestID":"0f0aeecddb3ab6c7c3b3dfc716d4ade5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"0f0aeecddb3ab6c7c3b3dfc716d4ade5","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0f0aeecddb3ab6c7c3b3dfc716d4ade5"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":604,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:04Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":604,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.996172,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:04Z"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/935444b3-e322-4e6f-a8be-d955eadd86a3","device":"73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","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/935444b3-e322-4e6f-a8be-d955eadd86a3","device":"cee4e8b3-9b3a-4891-b8df-2836ff0653fb","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} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"0f0aeecddb3ab6c7c3b3dfc716d4ade5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836324,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNH0.IYasizh4-EANInU-9uuWKr6q0e8tUAXY2MxXs8utbSs"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"0f0aeecddb3ab6c7c3b3dfc716d4ade5","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcee4e8b3-9b3a-4891-b8df-2836ff0653fb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcee4e8b3-9b3a-4891-b8df-2836ff0653fb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:00.915188820Z"}]},"request_id":"3d136f74-4b71-495a-8f0b-66994f764864","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836324.5486257} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"0f0aeecddb3ab6c7c3b3dfc716d4ade5","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0f0aeecddb3ab6c7c3b3dfc716d4ade5"} gateway-1 | {"time_local":"28/Aug/2024:09:12:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb? 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":"0f0aeecddb3ab6c7c3b3dfc716d4ade5"} device-1 | {"level":"info","message":"GET /devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb? 200 13ms","method":"GET","requestID":"0f0aeecddb3ab6c7c3b3dfc716d4ade5","responseTime":13,"status":200,"url":"/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb?"} device-1 | {"device":"cee4e8b3-9b3a-4891-b8df-2836ff0653fb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"cee4e8b3-9b3a-4891-b8df-2836ff0653fb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 3391647959901715235 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:KQms\r\na=ice-pwd:glDmVTtYMFp7/mPc+QdAU3Fp\r\na=ice-options:trickle\r\na=fingerprint:sha-256 32:CF:CA:98:15:19:E3:E3:EE:D4:4D:6C:19:59:6F:34:CE:28:74:97:9B:FC:E8:A5:1A:5E:5C:84:F3:75:C3:EF\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"cee4e8b3-9b3a-4891-b8df-2836ff0653fb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 3100074585528925822 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:WmLc\r\na=ice-pwd:t/P0z47UaqBe0gVl6DfhBmNx\r\na=ice-options:trickle\r\na=fingerprint:sha-256 C7:9F:63:32:F3:D6:87:5B:97:14:BB:7B:8E:2D:BF:DC:F2:33:1A:70:A3:3B:E0:91:D1:7C:E2:51:6D:7E:32:49\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:2788433950 1 udp 2113937151 021311bb-8dee-46b9-beb4-26e5b9ef25d3.local 59931 typ host generation 0 ufrag WmLc network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:2926341081 1 udp 1677729535 141.24.211.56 59931 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag WmLc network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","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/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3'"} device-1 | {"content":{"candidate":"candidate:2050303038 1 udp 2113937151 e6f146a1-e321-428e-9b64-9aa840c1a87a.local 41888 typ host generation 0 ufrag KQms network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"cee4e8b3-9b3a-4891-b8df-2836ff0653fb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3111621398 1 udp 1677729535 141.24.211.56 41888 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag KQms network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"cee4e8b3-9b3a-4891-b8df-2836ff0653fb","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/cee4e8b3-9b3a-4891-b8df-2836ff0653fb'"} device-1 | {"device":"cee4e8b3-9b3a-4891-b8df-2836ff0653fb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","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/935444b3-e322-4e6f-a8be-d955eadd86a3' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"935444b3-e322-4e6f-a8be-d955eadd86a3","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"535b54bfba3c8ab0137026c4eec6af7f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"cee4e8b3-9b3a-4891-b8df-2836ff0653fb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"535b54bfba3c8ab0137026c4eec6af7f","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/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3"},{"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/cee4e8b3-9b3a-4891-b8df-2836ff0653fb"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/935444b3-e322-4e6f-a8be-d955eadd86a3"}}},"level":"info","message":"received a callback","requestID":"535b54bfba3c8ab0137026c4eec6af7f"} device-1 | {"device":"73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"cee4e8b3-9b3a-4891-b8df-2836ff0653fb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 109ms","method":"POST","requestID":"535b54bfba3c8ab0137026c4eec6af7f","responseTime":109,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:04 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.113","http_referrer":"","http_user_agent":"node-fetch","requestID":"535b54bfba3c8ab0137026c4eec6af7f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNH0.IYasizh4-EANInU-9uuWKr6q0e8tUAXY2MxXs8utbSs","level":"info","message":"auth send jwt","requestID":"bc958f9cc4b2062aed964da67a118a8d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"bc958f9cc4b2062aed964da67a118a8d","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","requestID":"bc958f9cc4b2062aed964da67a118a8d"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":605,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:04Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":605,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.74617,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:04Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"bc958f9cc4b2062aed964da67a118a8d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836324,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNH0.IYasizh4-EANInU-9uuWKr6q0e8tUAXY2MxXs8utbSs"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"bc958f9cc4b2062aed964da67a118a8d","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"data":{"peerconnection":"935444b3-e322-4e6f-a8be-d955eadd86a3","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"3796fba18d7a3b009dfd139f64e046ee"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"97fd46b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":606,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:05Z"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","requestID":"bc958f9cc4b2062aed964da67a118a8d"} gateway-1 | {"time_local":"28/Aug/2024:09:12:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95 HTTP/1.1","status": "200","body_bytes_sent":"1282","request_time":"0.277","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bc958f9cc4b2062aed964da67a118a8d"} experiment-1 | {"level":"info","message":"GET /experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95 200 274ms","method":"GET","requestID":"bc958f9cc4b2062aed964da67a118a8d","responseTime":274,"status":200,"url":"/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"86164c0a-9b12-4f26-b04e-fcdd4387139b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.026023} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":606,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.671702,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"97fd46b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"97fd46b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"data":{"peerconnection":"935444b3-e322-4e6f-a8be-d955eadd86a3","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"97fd46b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3/signaling 200 97ms","method":"POST","requestID":"97fd46b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":97,"status":200,"url":"/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"980cd710-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":607,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcee4e8b3-9b3a-4891-b8df-2836ff0653fb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"17d17c11-a2fc-4a20-9fb0-f7ddb109e4d2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.1256616} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":607,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.622182,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"980cd710-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"980cd710-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNX0.Bb1_rM51wV0-km8H7Fs5gGQE6hX0w9EsAt3je_zv9WE","level":"info","message":"auth send jwt","requestID":"8e7610f0c9c925f6b29001718ec98807"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"8e7610f0c9c925f6b29001718ec98807","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","requestID":"8e7610f0c9c925f6b29001718ec98807"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":608,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":608,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.153736,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8e7610f0c9c925f6b29001718ec98807","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836325,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNX0.Bb1_rM51wV0-km8H7Fs5gGQE6hX0w9EsAt3je_zv9WE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"8e7610f0c9c925f6b29001718ec98807","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","requestID":"8e7610f0c9c925f6b29001718ec98807"} gateway-1 | {"time_local":"28/Aug/2024:09:12:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95 HTTP/1.1","status": "200","body_bytes_sent":"1282","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8e7610f0c9c925f6b29001718ec98807"} experiment-1 | {"level":"info","message":"GET /experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95 200 15ms","method":"GET","requestID":"8e7610f0c9c925f6b29001718ec98807","responseTime":15,"status":200,"url":"/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/935444b3-e322-4e6f-a8be-d955eadd86a3' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"935444b3-e322-4e6f-a8be-d955eadd86a3","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"980cd710-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb/signaling 200 103ms","method":"POST","requestID":"980cd710-651d-11ef-83ce-bd5a3df00b5c","responseTime":103,"status":200,"url":"/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb/signaling"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2ab2ab9936fdb481fa59c875ff9efbf9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"2ab2ab9936fdb481fa59c875ff9efbf9","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":"connected","url":"http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3"},{"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/cee4e8b3-9b3a-4891-b8df-2836ff0653fb"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/935444b3-e322-4e6f-a8be-d955eadd86a3"}}},"level":"info","message":"received a callback","requestID":"2ab2ab9936fdb481fa59c875ff9efbf9"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"981dc700-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":609,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F935444b3-e322-4e6f-a8be-d955eadd86a3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6728d11e-e49a-457f-a457-99962ccab9d6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.2373583} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":609,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.740916,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/935444b3-e322-4e6f-a8be-d955eadd86a3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"981dc700-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/935444b3-e322-4e6f-a8be-d955eadd86a3","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":"981dc700-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNX0.Bb1_rM51wV0-km8H7Fs5gGQE6hX0w9EsAt3je_zv9WE","level":"info","message":"auth send jwt","requestID":"fccc6706f1520be1c5053ca29b22b2cd"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"fccc6706f1520be1c5053ca29b22b2cd","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","requestID":"fccc6706f1520be1c5053ca29b22b2cd"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":610,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":610,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.698045,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"fccc6706f1520be1c5053ca29b22b2cd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836325,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNX0.Bb1_rM51wV0-km8H7Fs5gGQE6hX0w9EsAt3je_zv9WE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"fccc6706f1520be1c5053ca29b22b2cd","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","requestID":"fccc6706f1520be1c5053ca29b22b2cd"} gateway-1 | {"time_local":"28/Aug/2024:09:12:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95 HTTP/1.1","status": "200","body_bytes_sent":"1282","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"fccc6706f1520be1c5053ca29b22b2cd"} experiment-1 | {"level":"info","message":"GET /experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95 200 8ms","method":"GET","requestID":"fccc6706f1520be1c5053ca29b22b2cd","responseTime":8,"status":200,"url":"/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"981dc700-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/935444b3-e322-4e6f-a8be-d955eadd86a3 200 65ms","method":"GET","requestID":"981dc700-651d-11ef-83ce-bd5a3df00b5c","responseTime":65,"status":200,"url":"/peerconnections/935444b3-e322-4e6f-a8be-d955eadd86a3"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNX0.Bb1_rM51wV0-km8H7Fs5gGQE6hX0w9EsAt3je_zv9WE","level":"info","message":"auth send jwt","requestID":"11178ae1c39d610249ceb77d49cdc5a1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"11178ae1c39d610249ceb77d49cdc5a1","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","requestID":"11178ae1c39d610249ceb77d49cdc5a1"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":611,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":611,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.746981,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"11178ae1c39d610249ceb77d49cdc5a1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836325,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNX0.Bb1_rM51wV0-km8H7Fs5gGQE6hX0w9EsAt3je_zv9WE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"11178ae1c39d610249ceb77d49cdc5a1","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 184ms","method":"POST","requestID":"2ab2ab9936fdb481fa59c875ff9efbf9","responseTime":184,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.187","http_referrer":"","http_user_agent":"node-fetch","requestID":"2ab2ab9936fdb481fa59c875ff9efbf9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9838f020-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","requestID":"11178ae1c39d610249ceb77d49cdc5a1"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":612,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:05Z"} gateway-1 | {"time_local":"28/Aug/2024:09:12:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95 HTTP/1.1","status": "200","body_bytes_sent":"1284","request_time":"0.047","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"11178ae1c39d610249ceb77d49cdc5a1"} experiment-1 | {"level":"info","message":"GET /experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95 200 43ms","method":"GET","requestID":"11178ae1c39d610249ceb77d49cdc5a1","responseTime":43,"status":200,"url":"/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"510bf741-540d-4938-ab87-0bcf4db83b3b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.414717} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":612,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.868255,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9838f020-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9838f020-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNX0.Bb1_rM51wV0-km8H7Fs5gGQE6hX0w9EsAt3je_zv9WE","level":"info","message":"auth send jwt","requestID":"b0ba3b7f477c5180cecbea70f901860f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b0ba3b7f477c5180cecbea70f901860f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9838f020-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","requestID":"b0ba3b7f477c5180cecbea70f901860f"} device-1 | {"level":"info","message":"POST /devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3/signaling 200 9ms","method":"POST","requestID":"9838f020-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3/signaling"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":613,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":613,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.756632,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:05Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"983ac4e0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b0ba3b7f477c5180cecbea70f901860f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836325,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNX0.Bb1_rM51wV0-km8H7Fs5gGQE6hX0w9EsAt3je_zv9WE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b0ba3b7f477c5180cecbea70f901860f","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":614,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcee4e8b3-9b3a-4891-b8df-2836ff0653fb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"35d54bae-d461-4887-80fc-479b36e0880f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.4262278} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":614,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.545319,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:05Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"},"level":"info","message":"Attempting to finish experiment","requestID":"b0ba3b7f477c5180cecbea70f901860f"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"983ac4e0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"983ac4e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"983baf40-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":615,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:05Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"983ac4e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb/signaling 200 9ms","method":"POST","requestID":"983ac4e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb/signaling"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":615,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.943932,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/935444b3-e322-4e6f-a8be-d955eadd86a3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"983baf40-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/935444b3-e322-4e6f-a8be-d955eadd86a3","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836325,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNX0.Bb1_rM51wV0-km8H7Fs5gGQE6hX0w9EsAt3je_zv9WE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"983baf40-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/935444b3-e322-4e6f-a8be-d955eadd86a3","device":"73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/935444b3-e322-4e6f-a8be-d955eadd86a3","device":"cee4e8b3-9b3a-4891-b8df-2836ff0653fb","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/935444b3-e322-4e6f-a8be-d955eadd86a3' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/935444b3-e322-4e6f-a8be-d955eadd86a3' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"935444b3-e322-4e6f-a8be-d955eadd86a3","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F935444b3-e322-4e6f-a8be-d955eadd86a3': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F935444b3-e322-4e6f-a8be-d955eadd86a3","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"0ca46eb2-9dd5-482c-8680-da516d1309eb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.4433162} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c9d4179e-2d6a-47d9-942d-a5a4722d1078","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.4437187} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"97fb0c2d5198b8ed0cca06543159abe0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"97fb0c2d5198b8ed0cca06543159abe0","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"983baf40-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"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/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3"},{"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/cee4e8b3-9b3a-4891-b8df-2836ff0653fb"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/935444b3-e322-4e6f-a8be-d955eadd86a3"}}},"level":"info","message":"received a callback","requestID":"97fb0c2d5198b8ed0cca06543159abe0"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b5e2b58c15e62548ef10f40990e68c58","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"b5e2b58c15e62548ef10f40990e68c58","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":"connected","url":"http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3"},{"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/cee4e8b3-9b3a-4891-b8df-2836ff0653fb"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/935444b3-e322-4e6f-a8be-d955eadd86a3"}}},"level":"info","message":"received a callback","requestID":"b5e2b58c15e62548ef10f40990e68c58"} device-1 | {"data":{"peerconnection":"935444b3-e322-4e6f-a8be-d955eadd86a3","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"983baf40-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/935444b3-e322-4e6f-a8be-d955eadd86a3 204 105ms","method":"DELETE","requestID":"983baf40-651d-11ef-83ce-bd5a3df00b5c","responseTime":105,"status":204,"url":"/peerconnections/935444b3-e322-4e6f-a8be-d955eadd86a3"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"},"level":"info","message":"Successfully finished experiment","requestID":"b0ba3b7f477c5180cecbea70f901860f"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"98521d70-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":616,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"306754af-05b3-4548-a0cc-2a104e9e98bf","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.579433} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":616,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.608671,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"98521d70-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"98521d70-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"98521d70-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3/signaling 200 8ms","method":"POST","requestID":"98521d70-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9853a410-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":617,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fcee4e8b3-9b3a-4891-b8df-2836ff0653fb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3fd7c5f4-2ed6-478a-b843-12ab2102a423","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.5892413} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":617,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.211494,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9853a410-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb","object_type":"device","rebac_allow":false,"scope_allow":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":"9853a410-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9853a410-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb/signaling 200 8ms","method":"POST","requestID":"9853a410-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbf545f99-b433-4cac-b752-5bf66fa5bd95': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fbf545f99-b433-4cac-b752-5bf66fa5bd95","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"770009de-58e2-4f96-88e9-c791a98a21f6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.593926} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"776d71c2-da6b-4003-9aec-9de960e67537","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.5941424} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"b0ba3b7f477c5180cecbea70f901860f","responseTime":21,"status":200,"url":"/relations/update"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95","requestID":"b0ba3b7f477c5180cecbea70f901860f"} gateway-1 | {"time_local":"28/Aug/2024:09:12:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.264","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"b0ba3b7f477c5180cecbea70f901860f"} experiment-1 | {"level":"info","message":"DELETE /experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95 204 261ms","method":"DELETE","requestID":"b0ba3b7f477c5180cecbea70f901860f","responseTime":261,"status":204,"url":"/experiments/bf545f99-b433-4cac-b752-5bf66fa5bd95"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 236ms","method":"POST","requestID":"97fb0c2d5198b8ed0cca06543159abe0","responseTime":236,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.239","http_referrer":"","http_user_agent":"node-fetch","requestID":"97fb0c2d5198b8ed0cca06543159abe0"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 236ms","method":"POST","requestID":"b5e2b58c15e62548ef10f40990e68c58","responseTime":236,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.240","http_referrer":"","http_user_agent":"node-fetch","requestID":"b5e2b58c15e62548ef10f40990e68c58"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNX0.Bb1_rM51wV0-km8H7Fs5gGQE6hX0w9EsAt3je_zv9WE","level":"info","message":"auth send jwt","requestID":"034bbfc21c230ecc683405bb42727179"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"034bbfc21c230ecc683405bb42727179","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"034bbfc21c230ecc683405bb42727179"} gateway-1 | {"time_local":"28/Aug/2024:09:12:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2848","request_time":"2.456","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"85b62b1425394f1aa31fe9880b250d42"} gateway-1 | {"time_local":"28/Aug/2024:09:12:05 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2850","request_time":"2.551","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"38998287f8657c968a479a6f9d9a686d"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":618,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":618,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.25222,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"034bbfc21c230ecc683405bb42727179","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836325,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNX0.Bb1_rM51wV0-km8H7Fs5gGQE6hX0w9EsAt3je_zv9WE"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/73c6a6f0-a2f9-4f1d-a8fe-a5dfefe337e3' closed"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"034bbfc21c230ecc683405bb42727179","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/cee4e8b3-9b3a-4891-b8df-2836ff0653fb' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F152a8b57-6508-4e1b-967d-86070e1ba472","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"db216dc0-0527-4334-9598-e5b84ebba6c7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.7226741} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"034bbfc21c230ecc683405bb42727179","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b7b1da9b-ed44-4bef-926b-5ba82be0ef23","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.726886} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"034bbfc21c230ecc683405bb42727179","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F152a8b57-6508-4e1b-967d-86070e1ba472","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"8aff1a62-440c-452e-ae3a-433937ea5a9a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.7423646} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6c697551-f5c4-450b-99c0-71d36dcbacc6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.742735} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"034bbfc21c230ecc683405bb42727179","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F152a8b57-6508-4e1b-967d-86070e1ba472","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F152a8b57-6508-4e1b-967d-86070e1ba472","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:05.742335485Z"}]},"request_id":"4f0895bd-c94a-4fa0-9ff9-d9ccbac4f314","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.7464132} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"034bbfc21c230ecc683405bb42727179","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"034bbfc21c230ecc683405bb42727179"} gateway-1 | {"time_local":"28/Aug/2024:09:12:05 +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":"034bbfc21c230ecc683405bb42727179"} device-1 | {"level":"info","message":"POST /devices? 201 59ms","method":"POST","requestID":"034bbfc21c230ecc683405bb42727179","responseTime":59,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNX0.Bb1_rM51wV0-km8H7Fs5gGQE6hX0w9EsAt3je_zv9WE","level":"info","message":"auth send jwt","requestID":"d65761d471d92f185864ab27b6b29f51"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d65761d471d92f185864ab27b6b29f51","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"d65761d471d92f185864ab27b6b29f51"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":619,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":619,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.691998,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:05Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"d65761d471d92f185864ab27b6b29f51","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836325,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNX0.Bb1_rM51wV0-km8H7Fs5gGQE6hX0w9EsAt3je_zv9WE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d65761d471d92f185864ab27b6b29f51","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"763abe5c-6c8c-4bc9-9f2b-b0304ca74b9c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.775047} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d65761d471d92f185864ab27b6b29f51","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a2092ba3-3389-4791-b667-89e44faba1ec","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.7788405} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"d65761d471d92f185864ab27b6b29f51","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"40f6de91-b2f4-44fe-b69e-ed7a4a3722f7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.7966053} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a20b5eb7-f586-44bc-9f0b-683505f98765","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.7969666} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"d65761d471d92f185864ab27b6b29f51","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:05.796573898Z"}]},"request_id":"1e09a189-3aed-4fd3-ab58-1b6d02dc893d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836325.8005178} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d65761d471d92f185864ab27b6b29f51","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d65761d471d92f185864ab27b6b29f51"} device-1 | {"level":"info","message":"POST /devices? 201 49ms","method":"POST","requestID":"d65761d471d92f185864ab27b6b29f51","responseTime":49,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"28/Aug/2024:09:12:05 +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":"d65761d471d92f185864ab27b6b29f51"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNn0.lragxPqds9ogrrvswkWQSV9gq_VXJisGh9L6mmIb-sI","level":"info","message":"auth send jwt","requestID":"995976392eed1d8ed6b17e8d475c83ad"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"995976392eed1d8ed6b17e8d475c83ad","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"995976392eed1d8ed6b17e8d475c83ad"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":620,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:06Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":620,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.712169,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:06Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"995976392eed1d8ed6b17e8d475c83ad","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836326,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNn0.lragxPqds9ogrrvswkWQSV9gq_VXJisGh9L6mmIb-sI"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"995976392eed1d8ed6b17e8d475c83ad","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:05.796573898Z"}]},"request_id":"9c80d7cd-7fec-49a3-a6c9-576d94cd783d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836326.34696} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"995976392eed1d8ed6b17e8d475c83ad","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"79e42e4a-681e-4586-a80b-f7c605f1f5e9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836326.3515635} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"995976392eed1d8ed6b17e8d475c83ad","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:05.796573898Z"}]},"request_id":"49e107b3-a926-49f2-bc36-27e047839202","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836326.3934689} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"995976392eed1d8ed6b17e8d475c83ad","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"995976392eed1d8ed6b17e8d475c83ad"} gateway-1 | {"time_local":"28/Aug/2024:09:12:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.061","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"995976392eed1d8ed6b17e8d475c83ad"} device-1 | {"level":"info","message":"PATCH /devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671 200 56ms","method":"PATCH","requestID":"995976392eed1d8ed6b17e8d475c83ad","responseTime":56,"status":200,"url":"/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNn0.lragxPqds9ogrrvswkWQSV9gq_VXJisGh9L6mmIb-sI","level":"info","message":"auth send jwt","requestID":"1b08946f586185870cc36302631b4517"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1b08946f586185870cc36302631b4517","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"1b08946f586185870cc36302631b4517"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":621,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:06Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":621,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.661613,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:06Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"1b08946f586185870cc36302631b4517","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836326,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyNn0.lragxPqds9ogrrvswkWQSV9gq_VXJisGh9L6mmIb-sI"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"1b08946f586185870cc36302631b4517","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"1b08946f586185870cc36302631b4517"} gateway-1 | {"time_local":"28/Aug/2024:09:12:06 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671/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":"1b08946f586185870cc36302631b4517"} device-1 | {"level":"info","message":"POST /devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671/websocket 200 18ms","method":"POST","requestID":"1b08946f586185870cc36302631b4517","responseTime":18,"status":200,"url":"/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c544d412d55a44a8bc539a7e51210e08","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"c544d412d55a44a8bc539a7e51210e08","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:12:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/152a8b57-6508-4e1b-967d-86070e1ba472/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":"c544d412d55a44a8bc539a7e51210e08"} device-1 | {"level":"info","message":"OPTIONS /devices/152a8b57-6508-4e1b-967d-86070e1ba472/websocket 200 0ms","method":"OPTIONS","requestID":"c544d412d55a44a8bc539a7e51210e08","responseTime":0,"status":200,"url":"/devices/152a8b57-6508-4e1b-967d-86070e1ba472/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyN30.rLkLuVllqM0QNGgYNui9w_w-1_ZddxLcmmLtwHL4_Ao","level":"info","message":"auth send jwt","requestID":"3d3343fcb531d0b5a37a344c7fdb0b77"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"3d3343fcb531d0b5a37a344c7fdb0b77","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"3d3343fcb531d0b5a37a344c7fdb0b77"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":622,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":622,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.630474,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"3d3343fcb531d0b5a37a344c7fdb0b77","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836327,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyN30.rLkLuVllqM0QNGgYNui9w_w-1_ZddxLcmmLtwHL4_Ao"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"3d3343fcb531d0b5a37a344c7fdb0b77","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"3d3343fcb531d0b5a37a344c7fdb0b77"} gateway-1 | {"time_local":"28/Aug/2024:09:12:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/152a8b57-6508-4e1b-967d-86070e1ba472/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":"3d3343fcb531d0b5a37a344c7fdb0b77"} device-1 | {"level":"info","message":"POST /devices/152a8b57-6508-4e1b-967d-86070e1ba472/websocket 200 19ms","method":"POST","requestID":"3d3343fcb531d0b5a37a344c7fdb0b77","responseTime":19,"status":200,"url":"/devices/152a8b57-6508-4e1b-967d-86070e1ba472/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyN30.rLkLuVllqM0QNGgYNui9w_w-1_ZddxLcmmLtwHL4_Ao","level":"info","message":"auth send jwt","requestID":"674c80a5b1825abc6a32efe722ed1421"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"674c80a5b1825abc6a32efe722ed1421","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"674c80a5b1825abc6a32efe722ed1421"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":623,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":623,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.222665,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"674c80a5b1825abc6a32efe722ed1421","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836327,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyN30.rLkLuVllqM0QNGgYNui9w_w-1_ZddxLcmmLtwHL4_Ao"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"674c80a5b1825abc6a32efe722ed1421","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F152a8b57-6508-4e1b-967d-86070e1ba472","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F152a8b57-6508-4e1b-967d-86070e1ba472","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:05.742335485Z"}]},"request_id":"f2831608-1f4f-49a9-9d79-424d819d005a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836327.7583315} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"674c80a5b1825abc6a32efe722ed1421","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"674c80a5b1825abc6a32efe722ed1421"} gateway-1 | {"time_local":"28/Aug/2024:09:12:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/152a8b57-6508-4e1b-967d-86070e1ba472? 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":"674c80a5b1825abc6a32efe722ed1421"} device-1 | {"level":"info","message":"GET /devices/152a8b57-6508-4e1b-967d-86070e1ba472? 200 10ms","method":"GET","requestID":"674c80a5b1825abc6a32efe722ed1421","responseTime":10,"status":200,"url":"/devices/152a8b57-6508-4e1b-967d-86070e1ba472?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyN30.rLkLuVllqM0QNGgYNui9w_w-1_ZddxLcmmLtwHL4_Ao","level":"info","message":"auth send jwt","requestID":"9ce3a8b36c5b1e7dcdd7dc12cbfc04e5"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"9ce3a8b36c5b1e7dcdd7dc12cbfc04e5","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9ce3a8b36c5b1e7dcdd7dc12cbfc04e5"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":624,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":624,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.683338,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9ce3a8b36c5b1e7dcdd7dc12cbfc04e5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836327,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyN30.rLkLuVllqM0QNGgYNui9w_w-1_ZddxLcmmLtwHL4_Ao"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9ce3a8b36c5b1e7dcdd7dc12cbfc04e5","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:05.796573898Z"}]},"request_id":"b01f20d4-e988-49d2-8bd7-05b5cae720ab","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836327.773106} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9ce3a8b36c5b1e7dcdd7dc12cbfc04e5","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9ce3a8b36c5b1e7dcdd7dc12cbfc04e5"} gateway-1 | {"time_local":"28/Aug/2024:09:12:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671? 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":"9ce3a8b36c5b1e7dcdd7dc12cbfc04e5"} device-1 | {"level":"info","message":"GET /devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671? 200 11ms","method":"GET","requestID":"9ce3a8b36c5b1e7dcdd7dc12cbfc04e5","responseTime":11,"status":200,"url":"/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyN30.rLkLuVllqM0QNGgYNui9w_w-1_ZddxLcmmLtwHL4_Ao","level":"info","message":"auth send jwt","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":625,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":625,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.64573,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836327,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyN30.rLkLuVllqM0QNGgYNui9w_w-1_ZddxLcmmLtwHL4_Ao"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6"},"level":"info","message":"Attempting to run experiment","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6"},"level":"info","message":"Attempting to book experiment","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6"},"level":"info","message":"Successfully booked experiment","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"99aca460-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"99accb70-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":626,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":626,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.663053,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":627,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"99aca460-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836327,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyN30.rLkLuVllqM0QNGgYNui9w_w-1_ZddxLcmmLtwHL4_Ao"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"99aca460-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":627,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.61971,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"99accb70-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836327,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyN30.rLkLuVllqM0QNGgYNui9w_w-1_ZddxLcmmLtwHL4_Ao"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"99accb70-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F152a8b57-6508-4e1b-967d-86070e1ba472","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F152a8b57-6508-4e1b-967d-86070e1ba472","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:05.742335485Z"}]},"request_id":"aa45a636-cffd-437e-94b0-6ee79bcf46d9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836327.8530633} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"99aca460-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:05.796573898Z"}]},"request_id":"43eee66d-c0a9-4606-8feb-a74a9744e90f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836327.8536398} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"99accb70-651d-11ef-83ce-bd5a3df00b5c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"99aca460-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/152a8b57-6508-4e1b-967d-86070e1ba472? 200 13ms","method":"GET","requestID":"99aca460-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/152a8b57-6508-4e1b-967d-86070e1ba472?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"99accb70-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671? 200 12ms","method":"GET","requestID":"99accb70-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6"},"level":"info","message":"Setting up experiment","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6"},"level":"info","message":"Successfully locked booking for experiment","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6"},"level":"info","message":"Attempting to update booking for experiment","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6"},"level":"info","message":"Successfully updated booking for experiment","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6"},"level":"info","message":"Successfully set up experiment","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"99b8b250-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"99b90070-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"99b94e90-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":628,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":628,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.226275,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":629,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"99b8b250-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836327,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyN30.rLkLuVllqM0QNGgYNui9w_w-1_ZddxLcmmLtwHL4_Ao"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"99b8b250-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":629,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.155964,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":630,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"99b90070-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836327,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyN30.rLkLuVllqM0QNGgYNui9w_w-1_ZddxLcmmLtwHL4_Ao"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"99b90070-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6"},"level":"info","message":"Successfully running experiment","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F152a8b57-6508-4e1b-967d-86070e1ba472","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c54843b9-0df7-4554-a4a8-7c75e9b719d9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836327.9363647} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":630,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.451224,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"99b94e90-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472","object_type":"device","rebac_allow":false,"scope_allow":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":"99b94e90-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F152a8b57-6508-4e1b-967d-86070e1ba472","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F152a8b57-6508-4e1b-967d-86070e1ba472","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:05.742335485Z"}]},"request_id":"8895c162-6bda-47d6-9dac-409607ba3129","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836327.9378543} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:05.796573898Z"}]},"request_id":"288976d8-2165-4f24-80af-28a2a720d596","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836327.9389024} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"99b8b250-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"99b90070-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"99b94e90-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/152a8b57-6508-4e1b-967d-86070e1ba472/signaling 200 16ms","method":"POST","requestID":"99b94e90-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/152a8b57-6508-4e1b-967d-86070e1ba472/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"99b8b250-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/152a8b57-6508-4e1b-967d-86070e1ba472? 200 21ms","method":"GET","requestID":"99b8b250-651d-11ef-83ce-bd5a3df00b5c","responseTime":21,"status":200,"url":"/devices/152a8b57-6508-4e1b-967d-86070e1ba472?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"99b90070-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671? 200 20ms","method":"GET","requestID":"99b90070-651d-11ef-83ce-bd5a3df00b5c","responseTime":20,"status":200,"url":"/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"99bc34c0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"99bc82e0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":631,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":632,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bf6d027e-6846-46bc-8828-7e6ec2d92fb1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836327.9532127} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":631,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.352323,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"99bc34c0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"99bc34c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F152a8b57-6508-4e1b-967d-86070e1ba472","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c4893372-b6ea-4d7e-aed3-7b8bf85e2b14","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836327.9549596} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":632,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.754925,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"99bc82e0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"99bc82e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"99bc34c0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671/signaling 200 10ms","method":"POST","requestID":"99bc34c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"99bc82e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/152a8b57-6508-4e1b-967d-86070e1ba472/signaling 200 11ms","method":"POST","requestID":"99bc82e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/152a8b57-6508-4e1b-967d-86070e1ba472/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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b74643f2-6956-4603-9206-f47c0f75a933","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836327.9596317} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"99bea5c0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"1e289bd1-903e-459e-8982-3b68010617df","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836327.9596944} authorization-1 | {"level":"info","message":"POST /relations/update 200 27ms","method":"POST","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34","responseTime":27,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":633,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"67b2c352-4189-4071-94d2-d9edb96e7a26","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836327.9689043} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":633,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.529341,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"99bea5c0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"99bea5c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} gateway-1 | {"time_local":"28/Aug/2024:09:12:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1215","request_time":"0.193","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} experiment-1 | {"level":"info","message":"POST /experiments? 201 189ms","method":"POST","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34","responseTime":189,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"99bea5c0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671/signaling 200 10ms","method":"POST","requestID":"99bea5c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6"},"level":"info","message":"Building connection plan","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} 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":"6665da6e-2732-4401-87fd-d4518a14c380"},{"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":"dacff0a9-bf63-42dd-9c68-da89695ca2f6"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"571d839c-8765-4b76-b7ed-aa6b9448da30"}]},"level":"info","message":"Built pairwise service configurations","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} 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/152a8b57-6508-4e1b-967d-86070e1ba472"},{"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/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyN30.rLkLuVllqM0QNGgYNui9w_w-1_ZddxLcmmLtwHL4_Ao","level":"info","message":"auth send jwt","requestID":"0d9bc9d95a10006e1fe8836c0f8015f9"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"0d9bc9d95a10006e1fe8836c0f8015f9","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"99c07a80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"0d9bc9d95a10006e1fe8836c0f8015f9"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Received request.","req_id":634,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"client_addr":"127.0.0.1:49558","level":"info","msg":"Sent response.","req_id":634,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.622564,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":635,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"99c07a80-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836327,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyN30.rLkLuVllqM0QNGgYNui9w_w-1_ZddxLcmmLtwHL4_Ao"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"99c07a80-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":635,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.744152,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"0d9bc9d95a10006e1fe8836c0f8015f9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836327,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyN30.rLkLuVllqM0QNGgYNui9w_w-1_ZddxLcmmLtwHL4_Ao"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"0d9bc9d95a10006e1fe8836c0f8015f9","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F152a8b57-6508-4e1b-967d-86070e1ba472","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F152a8b57-6508-4e1b-967d-86070e1ba472","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:05.742335485Z"}]},"request_id":"5d185fce-9fb6-4811-acff-7759a8bad758","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836327.9854174} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"0d9bc9d95a10006e1fe8836c0f8015f9","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"0d9bc9d95a10006e1fe8836c0f8015f9"} gateway-1 | {"time_local":"28/Aug/2024:09:12:07 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/152a8b57-6508-4e1b-967d-86070e1ba472? 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":"0d9bc9d95a10006e1fe8836c0f8015f9"} device-1 | {"level":"info","message":"GET /devices/152a8b57-6508-4e1b-967d-86070e1ba472? 200 11ms","method":"GET","requestID":"0d9bc9d95a10006e1fe8836c0f8015f9","responseTime":11,"status":200,"url":"/devices/152a8b57-6508-4e1b-967d-86070e1ba472?"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"afe5fd5d-2ec4-4bae-b82f-58c306f9f98e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836327.990047} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"0acdce13-1e8b-4110-90d0-fe24d72a1c74","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836327.990418} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"99c07a80-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/relations/update"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyN30.rLkLuVllqM0QNGgYNui9w_w-1_ZddxLcmmLtwHL4_Ao","level":"info","message":"auth send jwt","requestID":"222f7d8ea19ad430c00d4ada7c46d640"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"222f7d8ea19ad430c00d4ada7c46d640","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"222f7d8ea19ad430c00d4ada7c46d640"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":636,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":636,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.813911,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:07Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"222f7d8ea19ad430c00d4ada7c46d640","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836327,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMyN30.rLkLuVllqM0QNGgYNui9w_w-1_ZddxLcmmLtwHL4_Ao"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"222f7d8ea19ad430c00d4ada7c46d640","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:05.796573898Z"}]},"request_id":"36521eb2-2935-45ab-99df-2eab0e98b1f2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836328.0030015} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"222f7d8ea19ad430c00d4ada7c46d640","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"99c07a80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"99c07a80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/e50ad416-8c9b-4e34-b1cb-1040fe931f39'","requestID":"99c07a80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/e50ad416-8c9b-4e34-b1cb-1040fe931f39'","requestID":"99c07a80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"99c07a80-651d-11ef-83ce-bd5a3df00b5c"} 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":"99c07a80-651d-11ef-83ce-bd5a3df00b5c","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":"getDevicesByDeviceId succeeded","requestID":"222f7d8ea19ad430c00d4ada7c46d640"} gateway-1 | {"time_local":"28/Aug/2024:09:12:08 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671? 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":"222f7d8ea19ad430c00d4ada7c46d640"} device-1 | {"level":"info","message":"GET /devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671? 200 26ms","method":"GET","requestID":"222f7d8ea19ad430c00d4ada7c46d640","responseTime":27,"status":200,"url":"/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671?"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"99c07a80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/e50ad416-8c9b-4e34-b1cb-1040fe931f39","device":"152a8b57-6508-4e1b-967d-86070e1ba472","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 | {"device":"152a8b57-6508-4e1b-967d-86070e1ba472","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"41ff69b5ad7dbcf5d271ec3e2549bd34"} device-1 | {"content":{"canTrickle":true},"device":"152a8b57-6508-4e1b-967d-86070e1ba472","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"99cde800-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":637,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:08Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F152a8b57-6508-4e1b-967d-86070e1ba472","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"64933049-a9cf-43e6-88ea-291d240555d2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836328.0692084} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":637,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.761882,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"99cde800-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"99cde800-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"99cde800-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/152a8b57-6508-4e1b-967d-86070e1ba472/signaling 200 9ms","method":"POST","requestID":"99cde800-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/152a8b57-6508-4e1b-967d-86070e1ba472/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"99cf95b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":638,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:08Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9f02abd3-eac9-41f5-a4f7-52434e0979d7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836328.0795393} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":638,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.237935,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:08Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"99cf95b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"99cf95b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"99cf95b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671/signaling 200 8ms","method":"POST","requestID":"99cf95b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671/signaling"} device-1 | {"device":"a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","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":"e50ad416-8c9b-4e34-b1cb-1040fe931f39","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 1977959483907124204 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:rx/m\r\na=ice-pwd:M/vLHfCsVbIBXvh9Uo0gyzGZ\r\na=ice-options:trickle\r\na=fingerprint:sha-256 CB:FB:FE:BD:A9:13:3A:92:CA:E1:80:7F:6B:22:7D:05:08:46:A4:61:35:A4:23:D2:96:2E:6A:64:FF:DF:B7:53\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"152a8b57-6508-4e1b-967d-86070e1ba472","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:3757776150 1 udp 2113937151 7addf15a-1c60-4ee2-bd6b-16aedca40318.local 45046 typ host generation 0 ufrag rx/m network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"152a8b57-6508-4e1b-967d-86070e1ba472","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":"31595b5446ed0cdfe92372feb9dcd212","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"152a8b57-6508-4e1b-967d-86070e1ba472","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:3673363022 1 udp 1677729535 141.24.211.56 45046 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag rx/m network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"152a8b57-6508-4e1b-967d-86070e1ba472","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/e50ad416-8c9b-4e34-b1cb-1040fe931f39' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e50ad416-8c9b-4e34-b1cb-1040fe931f39","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","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":"a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","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":"a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","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":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472'"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"31595b5446ed0cdfe92372feb9dcd212","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/152a8b57-6508-4e1b-967d-86070e1ba472"},{"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/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/e50ad416-8c9b-4e34-b1cb-1040fe931f39"}}},"level":"info","message":"received a callback","requestID":"31595b5446ed0cdfe92372feb9dcd212"} device-1 | {"device":"152a8b57-6508-4e1b-967d-86070e1ba472","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"31595b5446ed0cdfe92372feb9dcd212","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.009","http_referrer":"","http_user_agent":"node-fetch","requestID":"31595b5446ed0cdfe92372feb9dcd212"} device-1 | {"device":"a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","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":"a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","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":"152a8b57-6508-4e1b-967d-86070e1ba472","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"152a8b57-6508-4e1b-967d-86070e1ba472","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"e50ad416-8c9b-4e34-b1cb-1040fe931f39","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzMH0.hLf5ez58TlKQzS3xe7zFSPK3dwr6_PFQ57s-FkM3s-U","level":"info","message":"auth send jwt","requestID":"9884cb80ae74e0d3b5e61cbc167cd585"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"9884cb80ae74e0d3b5e61cbc167cd585","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6","requestID":"9884cb80ae74e0d3b5e61cbc167cd585"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":639,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":639,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.832204,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9884cb80ae74e0d3b5e61cbc167cd585","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836330,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzMH0.hLf5ez58TlKQzS3xe7zFSPK3dwr6_PFQ57s-FkM3s-U"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9884cb80ae74e0d3b5e61cbc167cd585","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6","requestID":"9884cb80ae74e0d3b5e61cbc167cd585"} device-1 | {"data":{"peerconnection":"e50ad416-8c9b-4e34-b1cb-1040fe931f39","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} gateway-1 | {"time_local":"28/Aug/2024:09:12:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6 HTTP/1.1","status": "200","body_bytes_sent":"1286","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9884cb80ae74e0d3b5e61cbc167cd585"} experiment-1 | {"level":"info","message":"GET /experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6 200 10ms","method":"GET","requestID":"9884cb80ae74e0d3b5e61cbc167cd585","responseTime":10,"status":200,"url":"/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/e50ad416-8c9b-4e34-b1cb-1040fe931f39' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e50ad416-8c9b-4e34-b1cb-1040fe931f39","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2974c682d1c0bdeec47d6ac915c45f13","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"2974c682d1c0bdeec47d6ac915c45f13","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/152a8b57-6508-4e1b-967d-86070e1ba472"},{"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/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/e50ad416-8c9b-4e34-b1cb-1040fe931f39"}}},"level":"info","message":"received a callback","requestID":"2974c682d1c0bdeec47d6ac915c45f13"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"9b1c6100-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":640,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe50ad416-8c9b-4e34-b1cb-1040fe931f39","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"352abde9-7e96-46e3-b540-c810ccdebb0c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836330.2605765} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":640,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.185381,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/e50ad416-8c9b-4e34-b1cb-1040fe931f39","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9b1c6100-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/e50ad416-8c9b-4e34-b1cb-1040fe931f39","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":"9b1c6100-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"9b1c6100-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/e50ad416-8c9b-4e34-b1cb-1040fe931f39 200 13ms","method":"GET","requestID":"9b1c6100-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/peerconnections/e50ad416-8c9b-4e34-b1cb-1040fe931f39"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 37ms","method":"POST","requestID":"2974c682d1c0bdeec47d6ac915c45f13","responseTime":37,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.039","http_referrer":"","http_user_agent":"node-fetch","requestID":"2974c682d1c0bdeec47d6ac915c45f13"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9b216a10-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":641,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F152a8b57-6508-4e1b-967d-86070e1ba472","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a379d9c8-6614-4b81-b60d-c66bbf5c0439","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836330.2933276} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":641,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.285348,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9b216a10-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472","object_type":"device","rebac_allow":false,"scope_allow":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":"9b216a10-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9b216a10-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/152a8b57-6508-4e1b-967d-86070e1ba472/signaling 200 8ms","method":"POST","requestID":"9b216a10-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/152a8b57-6508-4e1b-967d-86070e1ba472/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9b22f0b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":642,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8c6b0b0a-29db-41e3-a44d-d963596bfeee","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836330.3027377} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":642,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.226011,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9b22f0b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","object_type":"device","rebac_allow":false,"scope_allow":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":"9b22f0b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9b22f0b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671/signaling 200 7ms","method":"POST","requestID":"9b22f0b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzMH0.hLf5ez58TlKQzS3xe7zFSPK3dwr6_PFQ57s-FkM3s-U","level":"info","message":"auth send jwt","requestID":"e527fc04618f8e34d3d19fe6fc452610"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e527fc04618f8e34d3d19fe6fc452610","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6","requestID":"e527fc04618f8e34d3d19fe6fc452610"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":643,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":643,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.687538,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"e527fc04618f8e34d3d19fe6fc452610","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836330,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzMH0.hLf5ez58TlKQzS3xe7zFSPK3dwr6_PFQ57s-FkM3s-U"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e527fc04618f8e34d3d19fe6fc452610","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6","requestID":"e527fc04618f8e34d3d19fe6fc452610"} gateway-1 | {"time_local":"28/Aug/2024:09:12:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6 HTTP/1.1","status": "200","body_bytes_sent":"1288","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e527fc04618f8e34d3d19fe6fc452610"} experiment-1 | {"level":"info","message":"GET /experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6 200 9ms","method":"GET","requestID":"e527fc04618f8e34d3d19fe6fc452610","responseTime":9,"status":200,"url":"/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzMH0.hLf5ez58TlKQzS3xe7zFSPK3dwr6_PFQ57s-FkM3s-U","level":"info","message":"auth send jwt","requestID":"604e76aedaaa9a18725da45f6f3a42c0"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"604e76aedaaa9a18725da45f6f3a42c0","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6","requestID":"604e76aedaaa9a18725da45f6f3a42c0"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":644,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":644,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.763079,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"604e76aedaaa9a18725da45f6f3a42c0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836330,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzMH0.hLf5ez58TlKQzS3xe7zFSPK3dwr6_PFQ57s-FkM3s-U"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"604e76aedaaa9a18725da45f6f3a42c0","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6"},"level":"info","message":"Attempting to finish experiment","requestID":"604e76aedaaa9a18725da45f6f3a42c0"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"9b2cb4b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":645,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":645,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.868419,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/e50ad416-8c9b-4e34-b1cb-1040fe931f39","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9b2cb4b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/e50ad416-8c9b-4e34-b1cb-1040fe931f39","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836330,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzMH0.hLf5ez58TlKQzS3xe7zFSPK3dwr6_PFQ57s-FkM3s-U"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9b2cb4b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/e50ad416-8c9b-4e34-b1cb-1040fe931f39","device":"152a8b57-6508-4e1b-967d-86070e1ba472","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/e50ad416-8c9b-4e34-b1cb-1040fe931f39' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/e50ad416-8c9b-4e34-b1cb-1040fe931f39' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"e50ad416-8c9b-4e34-b1cb-1040fe931f39","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","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":"a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","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":"a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","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":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe50ad416-8c9b-4e34-b1cb-1040fe931f39': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fe50ad416-8c9b-4e34-b1cb-1040fe931f39","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"5197c454-f1bb-44c5-933d-10946e4a7c71","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836330.377488} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"2b5e72206e2e086ad7a54577289c82be","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"2b5e72206e2e086ad7a54577289c82be","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"e4e14e81-1852-4a7c-9928-2259cfca8047","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836330.3781593} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a9458ffb9bddc5cd2566b3232a432f15","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"9b2cb4b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"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/152a8b57-6508-4e1b-967d-86070e1ba472"},{"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/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/e50ad416-8c9b-4e34-b1cb-1040fe931f39"}}},"level":"info","message":"received a callback","requestID":"2b5e72206e2e086ad7a54577289c82be"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"a9458ffb9bddc5cd2566b3232a432f15","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/152a8b57-6508-4e1b-967d-86070e1ba472"},{"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/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/e50ad416-8c9b-4e34-b1cb-1040fe931f39"}}},"level":"info","message":"received a callback","requestID":"a9458ffb9bddc5cd2566b3232a432f15"} device-1 | {"data":{"peerconnection":"e50ad416-8c9b-4e34-b1cb-1040fe931f39","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"9b2cb4b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/e50ad416-8c9b-4e34-b1cb-1040fe931f39 204 50ms","method":"DELETE","requestID":"9b2cb4b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":50,"status":204,"url":"/peerconnections/e50ad416-8c9b-4e34-b1cb-1040fe931f39"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6"},"level":"info","message":"Successfully finished experiment","requestID":"604e76aedaaa9a18725da45f6f3a42c0"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9b36ede0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":646,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F152a8b57-6508-4e1b-967d-86070e1ba472","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f3775bee-15c7-4d6d-80f3-eb57149f736e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836330.435502} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":646,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.531745,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9b36ede0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/152a8b57-6508-4e1b-967d-86070e1ba472","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"9b36ede0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9b36ede0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/152a8b57-6508-4e1b-967d-86070e1ba472/signaling 200 9ms","method":"POST","requestID":"9b36ede0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/152a8b57-6508-4e1b-967d-86070e1ba472/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"08740625-1fd7-4f53-9cc7-b274f278eaf6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836330.4417846} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9b38c2a0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fa19547a-7469-41f2-9e3f-3ea037656be7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836330.4422028} authorization-1 | {"level":"info","message":"POST /relations/update 200 14ms","method":"POST","requestID":"604e76aedaaa9a18725da45f6f3a42c0","responseTime":14,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":647,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fa4c73a41-b6b0-4f4f-8276-7e23c2ed3671","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"afbeabe3-f0ff-4933-a9cd-082d96ad87c6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836330.4467769} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":647,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.481609,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9b38c2a0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671","object_type":"device","rebac_allow":false,"scope_allow":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":"9b38c2a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9b38c2a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671/signaling 200 9ms","method":"POST","requestID":"9b38c2a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6","requestID":"604e76aedaaa9a18725da45f6f3a42c0"} gateway-1 | {"time_local":"28/Aug/2024:09:12:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.201","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"604e76aedaaa9a18725da45f6f3a42c0"} experiment-1 | {"level":"info","message":"DELETE /experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6 204 198ms","method":"DELETE","requestID":"604e76aedaaa9a18725da45f6f3a42c0","responseTime":198,"status":204,"url":"/experiments/5ceaab28-8768-4fd3-a5b5-25bbc66ec8e6"} gateway-1 | {"time_local":"28/Aug/2024:09:12:10 +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.132","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"37a07fb05f83b0c280ad7ed6e2c4315f"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 176ms","method":"POST","requestID":"2b5e72206e2e086ad7a54577289c82be","responseTime":176,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.179","http_referrer":"","http_user_agent":"node-fetch","requestID":"2b5e72206e2e086ad7a54577289c82be"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 176ms","method":"POST","requestID":"a9458ffb9bddc5cd2566b3232a432f15","responseTime":176,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.180","http_referrer":"","http_user_agent":"node-fetch","requestID":"a9458ffb9bddc5cd2566b3232a432f15"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzMH0.hLf5ez58TlKQzS3xe7zFSPK3dwr6_PFQ57s-FkM3s-U","level":"info","message":"auth send jwt","requestID":"827b0c2adde2cc74a1cc359cc4c71220"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"827b0c2adde2cc74a1cc359cc4c71220","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"827b0c2adde2cc74a1cc359cc4c71220"} gateway-1 | {"time_local":"28/Aug/2024:09:12:10 +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.834","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"307551da98e59084e3967eafb916bfe4"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":648,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":648,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.075121,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"827b0c2adde2cc74a1cc359cc4c71220","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836330,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzMH0.hLf5ez58TlKQzS3xe7zFSPK3dwr6_PFQ57s-FkM3s-U"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"827b0c2adde2cc74a1cc359cc4c71220","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/a4c73a41-b6b0-4f4f-8276-7e23c2ed3671' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5e014812-d922-4600-b712-c9cd0955f5fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"fe80d555-4c6c-4ccf-94d9-e1d1180abcd2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836330.8198516} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"827b0c2adde2cc74a1cc359cc4c71220","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2e94e11a-f9b8-4054-acd0-0a72bcfdaa11","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836330.8242893} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"827b0c2adde2cc74a1cc359cc4c71220","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/152a8b57-6508-4e1b-967d-86070e1ba472' closed"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5e014812-d922-4600-b712-c9cd0955f5fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"ea099d57-47f2-4ef8-95f4-546967f9572e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836330.9078603} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"04d469d5-edca-4f7c-9fb5-2c237164b432","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836330.9080215} authorization-1 | {"level":"info","message":"POST /relations/update 200 86ms","method":"POST","requestID":"827b0c2adde2cc74a1cc359cc4c71220","responseTime":86,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5e014812-d922-4600-b712-c9cd0955f5fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5e014812-d922-4600-b712-c9cd0955f5fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:10.907820668Z"}]},"request_id":"1c38e987-051c-4b82-99e0-02eabd41e856","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836330.9129224} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"827b0c2adde2cc74a1cc359cc4c71220","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"827b0c2adde2cc74a1cc359cc4c71220"} gateway-1 | {"time_local":"28/Aug/2024:09:12:10 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"308","request_time":"0.361","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"827b0c2adde2cc74a1cc359cc4c71220"} device-1 | {"level":"info","message":"POST /devices? 201 356ms","method":"POST","requestID":"827b0c2adde2cc74a1cc359cc4c71220","responseTime":356,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzMH0.hLf5ez58TlKQzS3xe7zFSPK3dwr6_PFQ57s-FkM3s-U","level":"info","message":"auth send jwt","requestID":"e5cf0d2c259de5a7f0ebb1fb35fe23cf"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"e5cf0d2c259de5a7f0ebb1fb35fe23cf","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"e5cf0d2c259de5a7f0ebb1fb35fe23cf"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":649,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":649,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.833106,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:10Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"e5cf0d2c259de5a7f0ebb1fb35fe23cf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836330,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzMH0.hLf5ez58TlKQzS3xe7zFSPK3dwr6_PFQ57s-FkM3s-U"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e5cf0d2c259de5a7f0ebb1fb35fe23cf","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"e9370c23-0f01-4654-b04a-98c578a7c490","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836330.9503298} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e5cf0d2c259de5a7f0ebb1fb35fe23cf","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"95591492-0ec4-4481-841f-6a6d6712ab6d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836330.9543788} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"e5cf0d2c259de5a7f0ebb1fb35fe23cf","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"93de85d5-c594-42c8-9db0-52349889d462","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836330.9693274} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6b739f12-3baa-48ab-aa1d-99ce683e924c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836330.969422} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"e5cf0d2c259de5a7f0ebb1fb35fe23cf","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:10.969294263Z"}]},"request_id":"e740223b-6d6e-4358-bc78-0b677496295a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836330.9731927} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e5cf0d2c259de5a7f0ebb1fb35fe23cf","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e5cf0d2c259de5a7f0ebb1fb35fe23cf"} gateway-1 | {"time_local":"28/Aug/2024:09:12:10 +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":"e5cf0d2c259de5a7f0ebb1fb35fe23cf"} device-1 | {"level":"info","message":"POST /devices? 201 53ms","method":"POST","requestID":"e5cf0d2c259de5a7f0ebb1fb35fe23cf","responseTime":53,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzMX0.PNDtkqzL4-tiGyNwX5kcX60g5P-F59BDl2DKVolx5iQ","level":"info","message":"auth send jwt","requestID":"3061aa868119cc68125a07acd405f6c7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"3061aa868119cc68125a07acd405f6c7","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"3061aa868119cc68125a07acd405f6c7"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":650,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:11Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":650,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.173485,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:11Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"3061aa868119cc68125a07acd405f6c7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836331,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzMX0.PNDtkqzL4-tiGyNwX5kcX60g5P-F59BDl2DKVolx5iQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"3061aa868119cc68125a07acd405f6c7","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:10.969294263Z"}]},"request_id":"b64211b7-b2e3-45a2-a336-7904ab1c67ad","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836331.517707} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3061aa868119cc68125a07acd405f6c7","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d1204565-6927-4e79-894d-489f549fe9c6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836331.5240328} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"3061aa868119cc68125a07acd405f6c7","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:10.969294263Z"}]},"request_id":"b9b018ed-f186-4913-aaec-4c713f95d61a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836331.5660496} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"3061aa868119cc68125a07acd405f6c7","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"3061aa868119cc68125a07acd405f6c7"} gateway-1 | {"time_local":"28/Aug/2024:09:12:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/3a8adab1-d0ca-4515-9eec-7800101df6d8 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.070","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"3061aa868119cc68125a07acd405f6c7"} device-1 | {"level":"info","message":"PATCH /devices/3a8adab1-d0ca-4515-9eec-7800101df6d8 200 64ms","method":"PATCH","requestID":"3061aa868119cc68125a07acd405f6c7","responseTime":64,"status":200,"url":"/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzMX0.PNDtkqzL4-tiGyNwX5kcX60g5P-F59BDl2DKVolx5iQ","level":"info","message":"auth send jwt","requestID":"1dc8ab18f02a8850b5ee5e372236bec4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1dc8ab18f02a8850b5ee5e372236bec4","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"1dc8ab18f02a8850b5ee5e372236bec4"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":651,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:11Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":651,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.117745,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:11Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"1dc8ab18f02a8850b5ee5e372236bec4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836331,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzMX0.PNDtkqzL4-tiGyNwX5kcX60g5P-F59BDl2DKVolx5iQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"1dc8ab18f02a8850b5ee5e372236bec4","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"1dc8ab18f02a8850b5ee5e372236bec4"} gateway-1 | {"time_local":"28/Aug/2024:09:12:11 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/3a8adab1-d0ca-4515-9eec-7800101df6d8/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":"1dc8ab18f02a8850b5ee5e372236bec4"} device-1 | {"level":"info","message":"POST /devices/3a8adab1-d0ca-4515-9eec-7800101df6d8/websocket 200 21ms","method":"POST","requestID":"1dc8ab18f02a8850b5ee5e372236bec4","responseTime":21,"status":200,"url":"/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4b0fa2e0d4e66f36a2a6ee42959406df","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"4b0fa2e0d4e66f36a2a6ee42959406df","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:12:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/5e014812-d922-4600-b712-c9cd0955f5fa/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":"4b0fa2e0d4e66f36a2a6ee42959406df"} device-1 | {"level":"info","message":"OPTIONS /devices/5e014812-d922-4600-b712-c9cd0955f5fa/websocket 200 1ms","method":"OPTIONS","requestID":"4b0fa2e0d4e66f36a2a6ee42959406df","responseTime":1,"status":200,"url":"/devices/5e014812-d922-4600-b712-c9cd0955f5fa/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzMn0.qwGAqnr5MYLWLMxYhqIyqi2shMSzBjX_5DRuTwCveSs","level":"info","message":"auth send jwt","requestID":"abe0d4983d8d180a1dab6bd9f8dccb00"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"abe0d4983d8d180a1dab6bd9f8dccb00","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"abe0d4983d8d180a1dab6bd9f8dccb00"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":652,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:12Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":652,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.667123,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:12Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"abe0d4983d8d180a1dab6bd9f8dccb00","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836332,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzMn0.qwGAqnr5MYLWLMxYhqIyqi2shMSzBjX_5DRuTwCveSs"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"abe0d4983d8d180a1dab6bd9f8dccb00","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"abe0d4983d8d180a1dab6bd9f8dccb00"} gateway-1 | {"time_local":"28/Aug/2024:09:12:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/5e014812-d922-4600-b712-c9cd0955f5fa/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.044","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"abe0d4983d8d180a1dab6bd9f8dccb00"} device-1 | {"level":"info","message":"POST /devices/5e014812-d922-4600-b712-c9cd0955f5fa/websocket 200 40ms","method":"POST","requestID":"abe0d4983d8d180a1dab6bd9f8dccb00","responseTime":40,"status":200,"url":"/devices/5e014812-d922-4600-b712-c9cd0955f5fa/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzMn0.qwGAqnr5MYLWLMxYhqIyqi2shMSzBjX_5DRuTwCveSs","level":"info","message":"auth send jwt","requestID":"a71e01e4430d126328611787b3772683"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"a71e01e4430d126328611787b3772683","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a71e01e4430d126328611787b3772683"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":653,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:12Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":653,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.729527,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:12Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a71e01e4430d126328611787b3772683","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836332,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzMn0.qwGAqnr5MYLWLMxYhqIyqi2shMSzBjX_5DRuTwCveSs"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a71e01e4430d126328611787b3772683","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5e014812-d922-4600-b712-c9cd0955f5fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5e014812-d922-4600-b712-c9cd0955f5fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:10.907820668Z"}]},"request_id":"d5ddb4d1-24cb-4bb7-9583-7b223184b7fd","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836332.9953825} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a71e01e4430d126328611787b3772683","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a71e01e4430d126328611787b3772683"} gateway-1 | {"time_local":"28/Aug/2024:09:12:12 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5e014812-d922-4600-b712-c9cd0955f5fa? 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":"a71e01e4430d126328611787b3772683"} device-1 | {"level":"info","message":"GET /devices/5e014812-d922-4600-b712-c9cd0955f5fa? 200 12ms","method":"GET","requestID":"a71e01e4430d126328611787b3772683","responseTime":12,"status":200,"url":"/devices/5e014812-d922-4600-b712-c9cd0955f5fa?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzM30.4lBAIMZuMU7wsxWzeLj5S6m92Btk9WzOu-jW_5McR84","level":"info","message":"auth send jwt","requestID":"e1dd20cff9a0589bad1eb82be88f8593"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"e1dd20cff9a0589bad1eb82be88f8593","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e1dd20cff9a0589bad1eb82be88f8593"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":654,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":654,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.686438,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"e1dd20cff9a0589bad1eb82be88f8593","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836333,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzM30.4lBAIMZuMU7wsxWzeLj5S6m92Btk9WzOu-jW_5McR84"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e1dd20cff9a0589bad1eb82be88f8593","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:10.969294263Z"}]},"request_id":"6d33b9dd-633f-4847-92c7-213c4b65292e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836333.0115142} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e1dd20cff9a0589bad1eb82be88f8593","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e1dd20cff9a0589bad1eb82be88f8593"} gateway-1 | {"time_local":"28/Aug/2024:09:12:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/3a8adab1-d0ca-4515-9eec-7800101df6d8? 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":"e1dd20cff9a0589bad1eb82be88f8593"} device-1 | {"level":"info","message":"GET /devices/3a8adab1-d0ca-4515-9eec-7800101df6d8? 200 13ms","method":"GET","requestID":"e1dd20cff9a0589bad1eb82be88f8593","responseTime":13,"status":200,"url":"/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzM30.4lBAIMZuMU7wsxWzeLj5S6m92Btk9WzOu-jW_5McR84","level":"info","message":"auth send jwt","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"41c99d2d94b300e2a11f4254e6b418fe","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":655,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":655,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.960027,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"41c99d2d94b300e2a11f4254e6b418fe","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836333,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzM30.4lBAIMZuMU7wsxWzeLj5S6m92Btk9WzOu-jW_5McR84"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"41c99d2d94b300e2a11f4254e6b418fe","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf"},"level":"info","message":"Attempting to run experiment","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf"},"level":"info","message":"Attempting to book experiment","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf"},"level":"info","message":"Successfully booked experiment","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9ced2960-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9ced5070-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":656,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":656,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.945875,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9ced2960-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836333,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzM30.4lBAIMZuMU7wsxWzeLj5S6m92Btk9WzOu-jW_5McR84"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9ced2960-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:38362","level":"info","msg":"Received request.","req_id":657,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"client_addr":"127.0.0.1:38362","level":"info","msg":"Sent response.","req_id":657,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.95677,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9ced5070-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836333,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzM30.4lBAIMZuMU7wsxWzeLj5S6m92Btk9WzOu-jW_5McR84"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"9ced5070-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5e014812-d922-4600-b712-c9cd0955f5fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5e014812-d922-4600-b712-c9cd0955f5fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:10.907820668Z"}]},"request_id":"75983b53-c797-45c2-b5be-ac7359ba4024","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836333.3108394} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"9ced2960-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:10.969294263Z"}]},"request_id":"2219eb94-6593-40d8-9f85-0234a551c170","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836333.3155327} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9ced2960-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9ced5070-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/5e014812-d922-4600-b712-c9cd0955f5fa? 200 15ms","method":"GET","requestID":"9ced2960-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/devices/5e014812-d922-4600-b712-c9cd0955f5fa?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9ced5070-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/3a8adab1-d0ca-4515-9eec-7800101df6d8? 200 19ms","method":"GET","requestID":"9ced5070-651d-11ef-83ce-bd5a3df00b5c","responseTime":19,"status":200,"url":"/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf"},"level":"info","message":"Setting up experiment","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf"},"level":"info","message":"Successfully locked booking for experiment","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf"},"level":"info","message":"Attempting to update booking for experiment","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf"},"level":"info","message":"Successfully updated booking for experiment","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf"},"level":"info","message":"Successfully set up experiment","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9d2e5110-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"9d2e7820-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf"},"level":"info","message":"Successfully running experiment","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9d2ec640-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:38362","level":"info","msg":"Received request.","req_id":658,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"client_addr":"127.0.0.1:38362","level":"info","msg":"Sent response.","req_id":658,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.947174,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":659,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9d2e5110-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836333,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzM30.4lBAIMZuMU7wsxWzeLj5S6m92Btk9WzOu-jW_5McR84"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9d2e5110-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":659,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.824019,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9d2e7820-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836333,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzM30.4lBAIMZuMU7wsxWzeLj5S6m92Btk9WzOu-jW_5McR84"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"9d2e7820-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:38362","level":"info","msg":"Received request.","req_id":660,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5e014812-d922-4600-b712-c9cd0955f5fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5e014812-d922-4600-b712-c9cd0955f5fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:10.907820668Z"}]},"request_id":"04fa5ee7-7478-48d1-9a2a-b7bb3f0e6555","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836333.7396896} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5e014812-d922-4600-b712-c9cd0955f5fa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6b2cdeca-5548-4aee-8ccc-edf6cf081919","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836333.7398534} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9d2e5110-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:38362","level":"info","msg":"Sent response.","req_id":660,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.328329,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:10.969294263Z"}]},"request_id":"bdf7e3f2-7e7c-44cf-b3f1-8ed034b1b543","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836333.7408183} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9d2ec640-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa","object_type":"device","rebac_allow":false,"scope_allow":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":"9d2ec640-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"9d2e7820-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9d2e5110-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/5e014812-d922-4600-b712-c9cd0955f5fa? 200 18ms","method":"GET","requestID":"9d2e5110-651d-11ef-83ce-bd5a3df00b5c","responseTime":18,"status":200,"url":"/devices/5e014812-d922-4600-b712-c9cd0955f5fa?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9d2ec640-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/5e014812-d922-4600-b712-c9cd0955f5fa/signaling 200 16ms","method":"POST","requestID":"9d2ec640-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/5e014812-d922-4600-b712-c9cd0955f5fa/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"9d2e7820-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/3a8adab1-d0ca-4515-9eec-7800101df6d8? 200 19ms","method":"GET","requestID":"9d2e7820-651d-11ef-83ce-bd5a3df00b5c","responseTime":19,"status":200,"url":"/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9d318560-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9d31d380-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:38362","level":"info","msg":"Received request.","req_id":661,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"02a4ad70-399b-4252-ab73-661bed837b43","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836333.7552452} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":662,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"client_addr":"127.0.0.1:38362","level":"info","msg":"Sent response.","req_id":661,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.437883,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9d318560-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9d318560-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5e014812-d922-4600-b712-c9cd0955f5fa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f9118863-08ed-4911-8931-884b252b0fce","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836333.7574022} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":662,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.757006,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9d31d380-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9d31d380-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9d318560-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/3a8adab1-d0ca-4515-9eec-7800101df6d8/signaling 200 11ms","method":"POST","requestID":"9d318560-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9d31d380-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/5e014812-d922-4600-b712-c9cd0955f5fa/signaling 200 12ms","method":"POST","requestID":"9d31d380-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/5e014812-d922-4600-b712-c9cd0955f5fa/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9d33f660-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":663,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8c1278f2-91c1-40ae-ab87-056f88a31cb0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836333.7723484} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":663,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.257179,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9d33f660-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"9d33f660-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9d33f660-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/3a8adab1-d0ca-4515-9eec-7800101df6d8/signaling 200 12ms","method":"POST","requestID":"9d33f660-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf"},"level":"info","message":"Building connection plan","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} 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":"ca1e1a68-c785-468c-b7f4-68dcdc9fb1fc"},{"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":"88b4cf59-676d-4e6e-9ca0-0b858c9250f5"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"11c309fe-79ba-4f30-a8c3-d5c7c5966555"}]},"level":"info","message":"Built pairwise service configurations","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} 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/5e014812-d922-4600-b712-c9cd0955f5fa"},{"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/3a8adab1-d0ca-4515-9eec-7800101df6d8"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"9d364050-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":664,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":664,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.690166,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9d364050-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836333,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzM30.4lBAIMZuMU7wsxWzeLj5S6m92Btk9WzOu-jW_5McR84"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9d364050-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F2946a8f8-198a-4b01-8541-b353934711cf#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F2946a8f8-198a-4b01-8541-b353934711cf","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"4380da10-cdac-461b-aa94-9a831b5004b6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836333.900608} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"8248dbe2-41f3-4f28-bda3-87bae58f7290","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836333.9009914} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"e4696527-c5c7-4d82-8190-dcc2b9a28aed","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836333.9015937} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1e50a817-696b-49dd-83f8-5a610aa0fc72","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836333.902007} authorization-1 | {"level":"info","message":"POST /relations/update 200 170ms","method":"POST","requestID":"41c99d2d94b300e2a11f4254e6b418fe","responseTime":170,"status":200,"url":"/relations/update"} authorization-1 | {"level":"info","message":"POST /relations/update 200 116ms","method":"POST","requestID":"9d364050-651d-11ef-83ce-bd5a3df00b5c","responseTime":116,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} gateway-1 | {"time_local":"28/Aug/2024:09:12:13 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1215","request_time":"0.892","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} experiment-1 | {"level":"info","message":"POST /experiments? 201 888ms","method":"POST","requestID":"41c99d2d94b300e2a11f4254e6b418fe","responseTime":888,"status":201,"url":"/experiments?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzM30.4lBAIMZuMU7wsxWzeLj5S6m92Btk9WzOu-jW_5McR84","level":"info","message":"auth send jwt","requestID":"4745b7b95ec920608f376f904561aa06"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"4745b7b95ec920608f376f904561aa06","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"4745b7b95ec920608f376f904561aa06"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":665,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":665,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.962655,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:13Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"4745b7b95ec920608f376f904561aa06","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836333,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzM30.4lBAIMZuMU7wsxWzeLj5S6m92Btk9WzOu-jW_5McR84"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"4745b7b95ec920608f376f904561aa06","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5e014812-d922-4600-b712-c9cd0955f5fa","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5e014812-d922-4600-b712-c9cd0955f5fa","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:10.907820668Z"}]},"request_id":"f435c5ab-9ee9-4b34-88bb-28716d682b39","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836333.9226105} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"4745b7b95ec920608f376f904561aa06","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"9d364050-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"9d364050-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/73837236-44f9-4663-92f3-3450c6d0bd9b'","requestID":"9d364050-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/73837236-44f9-4663-92f3-3450c6d0bd9b'","requestID":"9d364050-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"9d364050-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 332ms","method":"POST","requestID":"9d364050-651d-11ef-83ce-bd5a3df00b5c","responseTime":332,"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":"4745b7b95ec920608f376f904561aa06"} gateway-1 | {"time_local":"28/Aug/2024:09:12:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/5e014812-d922-4600-b712-c9cd0955f5fa? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.204","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"4745b7b95ec920608f376f904561aa06"} device-1 | {"level":"info","message":"GET /devices/5e014812-d922-4600-b712-c9cd0955f5fa? 200 200ms","method":"GET","requestID":"4745b7b95ec920608f376f904561aa06","responseTime":200,"status":200,"url":"/devices/5e014812-d922-4600-b712-c9cd0955f5fa?"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"9d364050-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzNH0.S9aU3A78tiqQ7BPP79XCukaZkHund9m3xhmdDO447D0","level":"info","message":"auth send jwt","requestID":"194cc5994e6d3ee25c8f50f6099a0495"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"194cc5994e6d3ee25c8f50f6099a0495","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"194cc5994e6d3ee25c8f50f6099a0495"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/73837236-44f9-4663-92f3-3450c6d0bd9b","device":"5e014812-d922-4600-b712-c9cd0955f5fa","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} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":666,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:14Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":666,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.902402,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:14Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"194cc5994e6d3ee25c8f50f6099a0495","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836334,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzNH0.S9aU3A78tiqQ7BPP79XCukaZkHund9m3xhmdDO447D0"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"194cc5994e6d3ee25c8f50f6099a0495","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:10.969294263Z"}]},"request_id":"0f8295f0-5e8a-4cb0-b004-0701dc87fb7b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836334.1336284} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"194cc5994e6d3ee25c8f50f6099a0495","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"194cc5994e6d3ee25c8f50f6099a0495"} device-1 | {"level":"info","message":"GET /devices/3a8adab1-d0ca-4515-9eec-7800101df6d8? 200 16ms","method":"GET","requestID":"194cc5994e6d3ee25c8f50f6099a0495","responseTime":16,"status":200,"url":"/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8?"} gateway-1 | {"time_local":"28/Aug/2024:09:12:14 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/3a8adab1-d0ca-4515-9eec-7800101df6d8? 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":"194cc5994e6d3ee25c8f50f6099a0495"} device-1 | {"device":"5e014812-d922-4600-b712-c9cd0955f5fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"5e014812-d922-4600-b712-c9cd0955f5fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"41c99d2d94b300e2a11f4254e6b418fe"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9d815310-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":667,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:14Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5e014812-d922-4600-b712-c9cd0955f5fa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"6698325b-769f-48f0-9da4-8d066a0bb0a5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836334.2777247} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":667,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.538152,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:14Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9d815310-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9d815310-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9d815310-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/5e014812-d922-4600-b712-c9cd0955f5fa/signaling 200 9ms","method":"POST","requestID":"9d815310-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/5e014812-d922-4600-b712-c9cd0955f5fa/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9d8327d0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":668,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:14Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f0362d80-3f73-44a1-b80a-d06631897bad","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836334.2892544} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":668,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.221007,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:14Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9d8327d0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9d8327d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9d8327d0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/3a8adab1-d0ca-4515-9eec-7800101df6d8/signaling 200 8ms","method":"POST","requestID":"9d8327d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8/signaling"} device-1 | {"device":"3a8adab1-d0ca-4515-9eec-7800101df6d8","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":"73837236-44f9-4663-92f3-3450c6d0bd9b","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"content":{"sdp":"v=0\r\no=- 6140001843478289132 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:5OM2\r\na=ice-pwd:ZCtKaT1Ki4+fY3ZSb7lwOm5Z\r\na=ice-options:trickle\r\na=fingerprint:sha-256 4D:02:55:04:24:10:70:7E:EE:20:94:71:6E:A7:EE:E6:0E:A4:62:5A:66:25:A7:D2:34:CA:DA:EA:12:16:29:6F\r\na=setup:active\r\na=mid:0\r\na=sctpmap:5000 webrtc-datachannel 1024\r\n","type":"answer"},"device":"5e014812-d922-4600-b712-c9cd0955f5fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1846670343 1 udp 2113937151 fe4687c6-fb5c-4b13-a936-aee5c9f364f0.local 36037 typ host generation 0 ufrag 5OM2 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"5e014812-d922-4600-b712-c9cd0955f5fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"5e014812-d922-4600-b712-c9cd0955f5fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"content":{"candidate":"candidate:1716109248 1 udp 1677729535 141.24.211.56 36037 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag 5OM2 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"5e014812-d922-4600-b712-c9cd0955f5fa","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/73837236-44f9-4663-92f3-3450c6d0bd9b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"73837236-44f9-4663-92f3-3450c6d0bd9b","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"3a8adab1-d0ca-4515-9eec-7800101df6d8","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":"3a8adab1-d0ca-4515-9eec-7800101df6d8","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":"3a8adab1-d0ca-4515-9eec-7800101df6d8","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":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa'"} device-1 | {"device":"5e014812-d922-4600-b712-c9cd0955f5fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"233e33e2a9b67050806b0918c68830c1","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"233e33e2a9b67050806b0918c68830c1","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":"connecting","url":"http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa"},{"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/3a8adab1-d0ca-4515-9eec-7800101df6d8"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/73837236-44f9-4663-92f3-3450c6d0bd9b"}}},"level":"info","message":"received a callback","requestID":"233e33e2a9b67050806b0918c68830c1"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 5ms","method":"POST","requestID":"233e33e2a9b67050806b0918c68830c1","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12: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.008","http_referrer":"","http_user_agent":"node-fetch","requestID":"233e33e2a9b67050806b0918c68830c1"} device-1 | {"device":"3a8adab1-d0ca-4515-9eec-7800101df6d8","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":"3a8adab1-d0ca-4515-9eec-7800101df6d8","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":"5e014812-d922-4600-b712-c9cd0955f5fa","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"5e014812-d922-4600-b712-c9cd0955f5fa","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"73837236-44f9-4663-92f3-3450c6d0bd9b","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"73837236-44f9-4663-92f3-3450c6d0bd9b","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/73837236-44f9-4663-92f3-3450c6d0bd9b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"73837236-44f9-4663-92f3-3450c6d0bd9b","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d2f2f5df4ac9f0673db26e15c69b2da9","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d2f2f5df4ac9f0673db26e15c69b2da9","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/5e014812-d922-4600-b712-c9cd0955f5fa"},{"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/3a8adab1-d0ca-4515-9eec-7800101df6d8"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/73837236-44f9-4663-92f3-3450c6d0bd9b"}}},"level":"info","message":"received a callback","requestID":"d2f2f5df4ac9f0673db26e15c69b2da9"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"9eb231f0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":669,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:16Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F73837236-44f9-4663-92f3-3450c6d0bd9b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1db80bc1-c13f-48e3-bf22-04732cf3e7d7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836336.276261} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":669,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.343043,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/73837236-44f9-4663-92f3-3450c6d0bd9b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9eb231f0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/73837236-44f9-4663-92f3-3450c6d0bd9b","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":"9eb231f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"9eb231f0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/73837236-44f9-4663-92f3-3450c6d0bd9b 200 9ms","method":"GET","requestID":"9eb231f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/peerconnections/73837236-44f9-4663-92f3-3450c6d0bd9b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 34ms","method":"POST","requestID":"d2f2f5df4ac9f0673db26e15c69b2da9","responseTime":34,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12: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.037","http_referrer":"","http_user_agent":"node-fetch","requestID":"d2f2f5df4ac9f0673db26e15c69b2da9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9eb69ec0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":670,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:16Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5e014812-d922-4600-b712-c9cd0955f5fa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5829b4f7-7139-44ca-a5a6-5fb389f10ea0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836336.3057747} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":670,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.570331,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9eb69ec0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"9eb69ec0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9eb69ec0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/5e014812-d922-4600-b712-c9cd0955f5fa/signaling 200 11ms","method":"POST","requestID":"9eb69ec0-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/5e014812-d922-4600-b712-c9cd0955f5fa/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzNn0.SijL7xmW4u9CPeoJ86WxIR5ATjv2tMGGWqZfupxrtJY","level":"info","message":"auth send jwt","requestID":"3eeb61bbb68ec0866906bc7c79dad503"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9eb89a90-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"3eeb61bbb68ec0866906bc7c79dad503","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/2946a8f8-198a-4b01-8541-b353934711cf","requestID":"3eeb61bbb68ec0866906bc7c79dad503"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":671,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:16Z"} authorization-1 | {"client_addr":"127.0.0.1:38362","level":"info","msg":"Received request.","req_id":672,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:16Z"} authorization-1 | {"client_addr":"127.0.0.1:38362","level":"info","msg":"Sent response.","req_id":672,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.895816,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:16Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"3eeb61bbb68ec0866906bc7c79dad503","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836336,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzNn0.SijL7xmW4u9CPeoJ86WxIR5ATjv2tMGGWqZfupxrtJY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"3eeb61bbb68ec0866906bc7c79dad503","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"98ab14b2-3fc1-46b4-a181-105c359edd0e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836336.3184645} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":671,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.031358,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9eb89a90-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"9eb89a90-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9eb89a90-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/3a8adab1-d0ca-4515-9eec-7800101df6d8/signaling 200 11ms","method":"POST","requestID":"9eb89a90-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8/signaling"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/2946a8f8-198a-4b01-8541-b353934711cf","requestID":"3eeb61bbb68ec0866906bc7c79dad503"} gateway-1 | {"time_local":"28/Aug/2024:09:12:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/2946a8f8-198a-4b01-8541-b353934711cf HTTP/1.1","status": "200","body_bytes_sent":"1288","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"3eeb61bbb68ec0866906bc7c79dad503"} experiment-1 | {"level":"info","message":"GET /experiments/2946a8f8-198a-4b01-8541-b353934711cf 200 11ms","method":"GET","requestID":"3eeb61bbb68ec0866906bc7c79dad503","responseTime":11,"status":200,"url":"/experiments/2946a8f8-198a-4b01-8541-b353934711cf"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzNn0.SijL7xmW4u9CPeoJ86WxIR5ATjv2tMGGWqZfupxrtJY","level":"info","message":"auth send jwt","requestID":"2ca2c7326bdd9add0139ac5ec056d28c"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"2ca2c7326bdd9add0139ac5ec056d28c","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/2946a8f8-198a-4b01-8541-b353934711cf","requestID":"2ca2c7326bdd9add0139ac5ec056d28c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":673,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:16Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":673,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.680278,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:16Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"2ca2c7326bdd9add0139ac5ec056d28c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836336,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzNn0.SijL7xmW4u9CPeoJ86WxIR5ATjv2tMGGWqZfupxrtJY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"2ca2c7326bdd9add0139ac5ec056d28c","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf"},"level":"info","message":"Attempting to finish experiment","requestID":"2ca2c7326bdd9add0139ac5ec056d28c"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"9ebd2e70-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":674,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:16Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":674,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.844026,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:16Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/73837236-44f9-4663-92f3-3450c6d0bd9b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9ebd2e70-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/73837236-44f9-4663-92f3-3450c6d0bd9b","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836336,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzNn0.SijL7xmW4u9CPeoJ86WxIR5ATjv2tMGGWqZfupxrtJY"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9ebd2e70-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/73837236-44f9-4663-92f3-3450c6d0bd9b","device":"5e014812-d922-4600-b712-c9cd0955f5fa","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/73837236-44f9-4663-92f3-3450c6d0bd9b' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/73837236-44f9-4663-92f3-3450c6d0bd9b' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"73837236-44f9-4663-92f3-3450c6d0bd9b","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"3a8adab1-d0ca-4515-9eec-7800101df6d8","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":"3a8adab1-d0ca-4515-9eec-7800101df6d8","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":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F73837236-44f9-4663-92f3-3450c6d0bd9b': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F73837236-44f9-4663-92f3-3450c6d0bd9b","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"1da2a084-31ac-44df-af9b-2b3315317cbe","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836336.3585103} device-1 | {"device":"3a8adab1-d0ca-4515-9eec-7800101df6d8","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 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"4277e730-1b16-4079-8c97-b6dacf0297d2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836336.3588223} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a40186e62d6fe5783a48e056e4619a1f","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"a40186e62d6fe5783a48e056e4619a1f","responseTime":1,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f4cdb54ceadf8efc0681d143670d7116","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"9ebd2e70-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/relations/update"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"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/5e014812-d922-4600-b712-c9cd0955f5fa"},{"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/3a8adab1-d0ca-4515-9eec-7800101df6d8"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/73837236-44f9-4663-92f3-3450c6d0bd9b"}}},"level":"info","message":"received a callback","requestID":"a40186e62d6fe5783a48e056e4619a1f"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"f4cdb54ceadf8efc0681d143670d7116","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/5e014812-d922-4600-b712-c9cd0955f5fa"},{"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/3a8adab1-d0ca-4515-9eec-7800101df6d8"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/73837236-44f9-4663-92f3-3450c6d0bd9b"}}},"level":"info","message":"received a callback","requestID":"f4cdb54ceadf8efc0681d143670d7116"} device-1 | {"data":{"peerconnection":"73837236-44f9-4663-92f3-3450c6d0bd9b","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"9ebd2e70-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/73837236-44f9-4663-92f3-3450c6d0bd9b 204 35ms","method":"DELETE","requestID":"9ebd2e70-651d-11ef-83ce-bd5a3df00b5c","responseTime":35,"status":204,"url":"/peerconnections/73837236-44f9-4663-92f3-3450c6d0bd9b"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2946a8f8-198a-4b01-8541-b353934711cf"},"level":"info","message":"Successfully finished experiment","requestID":"2ca2c7326bdd9add0139ac5ec056d28c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9ec51db0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":675,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:16Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F5e014812-d922-4600-b712-c9cd0955f5fa","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"dfd516a5-0a20-418d-ac52-143f904bb949","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836336.3992317} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":675,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.431839,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9ec51db0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9ec51db0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9ec51db0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/5e014812-d922-4600-b712-c9cd0955f5fa/signaling 200 8ms","method":"POST","requestID":"9ec51db0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/5e014812-d922-4600-b712-c9cd0955f5fa/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"9ec6a450-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":676,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:16Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F3a8adab1-d0ca-4515-9eec-7800101df6d8","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c9efa1ee-f9ac-4f35-877f-3f03d489d86f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836336.4105651} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F2946a8f8-198a-4b01-8541-b353934711cf': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F2946a8f8-198a-4b01-8541-b353934711cf","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"376994c3-83a5-4c3f-a78a-ecf27a8ff135","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836336.4111302} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":676,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.758652,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:16Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9ec6a450-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"9ec6a450-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d70b7cc9-5ac0-4471-9ee4-7b474b329e20","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836336.411467} authorization-1 | {"level":"info","message":"POST /relations/update 200 19ms","method":"POST","requestID":"2ca2c7326bdd9add0139ac5ec056d28c","responseTime":19,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"9ec6a450-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/3a8adab1-d0ca-4515-9eec-7800101df6d8/signaling 200 9ms","method":"POST","requestID":"9ec6a450-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/3a8adab1-d0ca-4515-9eec-7800101df6d8/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/2946a8f8-198a-4b01-8541-b353934711cf","requestID":"2ca2c7326bdd9add0139ac5ec056d28c"} gateway-1 | {"time_local":"28/Aug/2024:09:12:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/2946a8f8-198a-4b01-8541-b353934711cf HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.138","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"2ca2c7326bdd9add0139ac5ec056d28c"} gateway-1 | {"time_local":"28/Aug/2024:09:12:16 +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.866","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"01253c04812067a6ed7d63ae747b338f"} experiment-1 | {"level":"info","message":"DELETE /experiments/2946a8f8-198a-4b01-8541-b353934711cf 204 136ms","method":"DELETE","requestID":"2ca2c7326bdd9add0139ac5ec056d28c","responseTime":136,"status":204,"url":"/experiments/2946a8f8-198a-4b01-8541-b353934711cf"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 110ms","method":"POST","requestID":"a40186e62d6fe5783a48e056e4619a1f","responseTime":110,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12: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.113","http_referrer":"","http_user_agent":"node-fetch","requestID":"a40186e62d6fe5783a48e056e4619a1f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzNn0.SijL7xmW4u9CPeoJ86WxIR5ATjv2tMGGWqZfupxrtJY","level":"info","message":"auth send jwt","requestID":"a50fed1aa15e5c37b9ce0e5303a2fef1"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 111ms","method":"POST","requestID":"f4cdb54ceadf8efc0681d143670d7116","responseTime":111,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12: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.113","http_referrer":"","http_user_agent":"node-fetch","requestID":"f4cdb54ceadf8efc0681d143670d7116"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a50fed1aa15e5c37b9ce0e5303a2fef1","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"a50fed1aa15e5c37b9ce0e5303a2fef1"} gateway-1 | {"time_local":"28/Aug/2024:09:12:16 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2709","request_time":"3.515","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"26833ef9e2e4301cddae9bdf5ec68557"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":677,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:16Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":677,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.892276,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:16Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a50fed1aa15e5c37b9ce0e5303a2fef1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836336,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzNn0.SijL7xmW4u9CPeoJ86WxIR5ATjv2tMGGWqZfupxrtJY"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a50fed1aa15e5c37b9ce0e5303a2fef1","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/3a8adab1-d0ca-4515-9eec-7800101df6d8' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"62d6afd1-50f1-4f66-8eb3-fd4b963592e7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836336.494543} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a50fed1aa15e5c37b9ce0e5303a2fef1","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fed80c32-fd69-4675-aa68-93241966ed48","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836336.4995959} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/5e014812-d922-4600-b712-c9cd0955f5fa' closed"} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"a50fed1aa15e5c37b9ce0e5303a2fef1","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"7abcb50e-df4b-425b-906c-014b702cd6bc","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836336.5143158} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"179f0238-b8d5-4eba-b279-7fff20a6da89","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836336.5146399} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"a50fed1aa15e5c37b9ce0e5303a2fef1","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:16.514291563Z"}]},"request_id":"ea5ae6d5-abd4-471e-b85d-0d2b1f607a86","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836336.5192277} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a50fed1aa15e5c37b9ce0e5303a2fef1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"a50fed1aa15e5c37b9ce0e5303a2fef1"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"a50fed1aa15e5c37b9ce0e5303a2fef1","responseTime":47,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"28/Aug/2024:09:12: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.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a50fed1aa15e5c37b9ce0e5303a2fef1"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzNn0.SijL7xmW4u9CPeoJ86WxIR5ATjv2tMGGWqZfupxrtJY","level":"info","message":"auth send jwt","requestID":"8f84d1a492b3d254784264355df073f8"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8f84d1a492b3d254784264355df073f8","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"8f84d1a492b3d254784264355df073f8"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":678,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:16Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":678,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.882305,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:16Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8f84d1a492b3d254784264355df073f8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836336,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzNn0.SijL7xmW4u9CPeoJ86WxIR5ATjv2tMGGWqZfupxrtJY"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8f84d1a492b3d254784264355df073f8","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd20cdbe7-f582-42cb-831c-366a84b09085","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"8c8f6288-431a-461b-8b83-df7fdf17097b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836336.5440688} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8f84d1a492b3d254784264355df073f8","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ab173c2f-fa3e-4855-bd59-020f4bb6d81c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836336.5487185} authorization-1 | {"level":"info","message":"POST /relations/update 200 2ms","method":"POST","requestID":"8f84d1a492b3d254784264355df073f8","responseTime":2,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd20cdbe7-f582-42cb-831c-366a84b09085","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"20bb57f8-4fe5-4129-bb0d-44277b152c8a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836336.558901} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ebab21b6-4921-48bb-8dc1-83d848269d88","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836336.5591605} authorization-1 | {"level":"info","message":"POST /relations/update 200 12ms","method":"POST","requestID":"8f84d1a492b3d254784264355df073f8","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd20cdbe7-f582-42cb-831c-366a84b09085","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd20cdbe7-f582-42cb-831c-366a84b09085","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:16.558870227Z"}]},"request_id":"46c8842a-9a56-439f-8d17-6e9170d3dec2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836336.563131} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"8f84d1a492b3d254784264355df073f8","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"8f84d1a492b3d254784264355df073f8"} gateway-1 | {"time_local":"28/Aug/2024:09:12:16 +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":"8f84d1a492b3d254784264355df073f8"} device-1 | {"level":"info","message":"POST /devices? 201 39ms","method":"POST","requestID":"8f84d1a492b3d254784264355df073f8","responseTime":39,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzN30.lXP_0BeFNFIluSqVp2gFDlDlKmlHemj4vg6zQHlOsN8","level":"info","message":"auth send jwt","requestID":"16c90a813a6ec59d0b36442f6bf462c9"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"16c90a813a6ec59d0b36442f6bf462c9","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"16c90a813a6ec59d0b36442f6bf462c9"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":679,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:17Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":679,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.891403,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:17Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"16c90a813a6ec59d0b36442f6bf462c9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836337,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzN30.lXP_0BeFNFIluSqVp2gFDlDlKmlHemj4vg6zQHlOsN8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"16c90a813a6ec59d0b36442f6bf462c9","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:16.514291563Z"}]},"request_id":"484e0016-3952-4852-b114-c118476a5319","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836337.199932} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"16c90a813a6ec59d0b36442f6bf462c9","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a4f6ba01-eb22-4d60-910f-5238a69eabdb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836337.2072759} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"16c90a813a6ec59d0b36442f6bf462c9","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:16.514291563Z"}]},"request_id":"31bd4264-38ed-4a03-b4c7-5bc0bdc88627","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836337.4126313} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"16c90a813a6ec59d0b36442f6bf462c9","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"16c90a813a6ec59d0b36442f6bf462c9"} gateway-1 | {"time_local":"28/Aug/2024:09:12:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.230","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"16c90a813a6ec59d0b36442f6bf462c9"} device-1 | {"level":"info","message":"PATCH /devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed 200 225ms","method":"PATCH","requestID":"16c90a813a6ec59d0b36442f6bf462c9","responseTime":225,"status":200,"url":"/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzN30.lXP_0BeFNFIluSqVp2gFDlDlKmlHemj4vg6zQHlOsN8","level":"info","message":"auth send jwt","requestID":"9c4f688c9fbae2b64b69bd41efb90daf"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"9c4f688c9fbae2b64b69bd41efb90daf","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"9c4f688c9fbae2b64b69bd41efb90daf"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":680,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:17Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":680,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.731107,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:17Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9c4f688c9fbae2b64b69bd41efb90daf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836337,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzN30.lXP_0BeFNFIluSqVp2gFDlDlKmlHemj4vg6zQHlOsN8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9c4f688c9fbae2b64b69bd41efb90daf","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"9c4f688c9fbae2b64b69bd41efb90daf"} device-1 | {"level":"info","message":"POST /devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed/websocket 200 143ms","method":"POST","requestID":"9c4f688c9fbae2b64b69bd41efb90daf","responseTime":143,"status":200,"url":"/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed/websocket"} gateway-1 | {"time_local":"28/Aug/2024:09:12:17 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.146","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"9c4f688c9fbae2b64b69bd41efb90daf"} device-1 | {"level":"info","message":"device 'http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"e7080f06456a297462d999184b5e74a0","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"e7080f06456a297462d999184b5e74a0","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:12:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/d20cdbe7-f582-42cb-831c-366a84b09085/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":"e7080f06456a297462d999184b5e74a0"} device-1 | {"level":"info","message":"OPTIONS /devices/d20cdbe7-f582-42cb-831c-366a84b09085/websocket 200 0ms","method":"OPTIONS","requestID":"e7080f06456a297462d999184b5e74a0","responseTime":0,"status":200,"url":"/devices/d20cdbe7-f582-42cb-831c-366a84b09085/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzOH0.5yXLM-qChTV9rvPIqiOkUgYsllfO-3diqrdPYJXwrdE","level":"info","message":"auth send jwt","requestID":"fcef64dca8405396b77d7eb021971436"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"fcef64dca8405396b77d7eb021971436","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"fcef64dca8405396b77d7eb021971436"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":681,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":681,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.79892,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"fcef64dca8405396b77d7eb021971436","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836338,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzOH0.5yXLM-qChTV9rvPIqiOkUgYsllfO-3diqrdPYJXwrdE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"fcef64dca8405396b77d7eb021971436","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"fcef64dca8405396b77d7eb021971436"} device-1 | {"level":"info","message":"POST /devices/d20cdbe7-f582-42cb-831c-366a84b09085/websocket 200 58ms","method":"POST","requestID":"fcef64dca8405396b77d7eb021971436","responseTime":58,"status":200,"url":"/devices/d20cdbe7-f582-42cb-831c-366a84b09085/websocket"} gateway-1 | {"time_local":"28/Aug/2024:09:12:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/d20cdbe7-f582-42cb-831c-366a84b09085/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":"fcef64dca8405396b77d7eb021971436"} device-1 | {"level":"info","message":"device 'http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzOH0.5yXLM-qChTV9rvPIqiOkUgYsllfO-3diqrdPYJXwrdE","level":"info","message":"auth send jwt","requestID":"90ffe96b9ec0c094ede4b7f8d36c218b"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"90ffe96b9ec0c094ede4b7f8d36c218b","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"90ffe96b9ec0c094ede4b7f8d36c218b"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":682,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":682,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.578374,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"90ffe96b9ec0c094ede4b7f8d36c218b","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836338,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzOH0.5yXLM-qChTV9rvPIqiOkUgYsllfO-3diqrdPYJXwrdE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"90ffe96b9ec0c094ede4b7f8d36c218b","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:16.514291563Z"}]},"request_id":"7d876839-9553-4cb9-b5a5-8225be271716","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836338.5785522} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"90ffe96b9ec0c094ede4b7f8d36c218b","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"90ffe96b9ec0c094ede4b7f8d36c218b"} device-1 | {"level":"info","message":"GET /devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed? 200 11ms","method":"GET","requestID":"90ffe96b9ec0c094ede4b7f8d36c218b","responseTime":11,"status":200,"url":"/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed?"} gateway-1 | {"time_local":"28/Aug/2024:09:12:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed? 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":"90ffe96b9ec0c094ede4b7f8d36c218b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzOH0.5yXLM-qChTV9rvPIqiOkUgYsllfO-3diqrdPYJXwrdE","level":"info","message":"auth send jwt","requestID":"2cf29ccec40724320948500ca4e8dfd2"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"2cf29ccec40724320948500ca4e8dfd2","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2cf29ccec40724320948500ca4e8dfd2"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":683,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":683,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.700345,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"2cf29ccec40724320948500ca4e8dfd2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836338,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzOH0.5yXLM-qChTV9rvPIqiOkUgYsllfO-3diqrdPYJXwrdE"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"2cf29ccec40724320948500ca4e8dfd2","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd20cdbe7-f582-42cb-831c-366a84b09085","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd20cdbe7-f582-42cb-831c-366a84b09085","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:16.558870227Z"}]},"request_id":"17385293-676e-4b8f-9ad7-cd0298048290","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836338.5920525} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"2cf29ccec40724320948500ca4e8dfd2","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2cf29ccec40724320948500ca4e8dfd2"} device-1 | {"level":"info","message":"GET /devices/d20cdbe7-f582-42cb-831c-366a84b09085? 200 10ms","method":"GET","requestID":"2cf29ccec40724320948500ca4e8dfd2","responseTime":10,"status":200,"url":"/devices/d20cdbe7-f582-42cb-831c-366a84b09085?"} gateway-1 | {"time_local":"28/Aug/2024:09:12:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d20cdbe7-f582-42cb-831c-366a84b09085? 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":"2cf29ccec40724320948500ca4e8dfd2"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzOH0.5yXLM-qChTV9rvPIqiOkUgYsllfO-3diqrdPYJXwrdE","level":"info","message":"auth send jwt","requestID":"6492183edc2d953eeab85220d67d36b5"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"6492183edc2d953eeab85220d67d36b5","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"6492183edc2d953eeab85220d67d36b5"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":684,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":684,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.926674,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6492183edc2d953eeab85220d67d36b5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836338,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzOH0.5yXLM-qChTV9rvPIqiOkUgYsllfO-3diqrdPYJXwrdE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"6492183edc2d953eeab85220d67d36b5","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"},"level":"info","message":"Attempting to run experiment","requestID":"6492183edc2d953eeab85220d67d36b5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"},"level":"info","message":"Attempting to book experiment","requestID":"6492183edc2d953eeab85220d67d36b5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"},"level":"info","message":"Successfully booked experiment","requestID":"6492183edc2d953eeab85220d67d36b5"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a01bd410-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a01bfb20-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":685,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":685,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.653328,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"client_addr":"127.0.0.1:38362","level":"info","msg":"Received request.","req_id":686,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a01bd410-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836338,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzOH0.5yXLM-qChTV9rvPIqiOkUgYsllfO-3diqrdPYJXwrdE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a01bd410-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:38362","level":"info","msg":"Sent response.","req_id":686,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.642084,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a01bfb20-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836338,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzOH0.5yXLM-qChTV9rvPIqiOkUgYsllfO-3diqrdPYJXwrdE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a01bfb20-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:16.514291563Z"}]},"request_id":"234579a4-e40d-4796-94f9-d300a794467e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836338.6490018} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a01bd410-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd20cdbe7-f582-42cb-831c-366a84b09085","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd20cdbe7-f582-42cb-831c-366a84b09085","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:16.558870227Z"}]},"request_id":"1e07d71d-d325-40ec-8dd2-a2f5362c0b65","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836338.6499336} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a01bfb20-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a01bd410-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed? 200 16ms","method":"GET","requestID":"a01bd410-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a01bfb20-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/d20cdbe7-f582-42cb-831c-366a84b09085? 200 16ms","method":"GET","requestID":"a01bfb20-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/d20cdbe7-f582-42cb-831c-366a84b09085?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"},"level":"info","message":"Setting up experiment","requestID":"6492183edc2d953eeab85220d67d36b5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"6492183edc2d953eeab85220d67d36b5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"},"level":"info","message":"Successfully locked booking for experiment","requestID":"6492183edc2d953eeab85220d67d36b5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"6492183edc2d953eeab85220d67d36b5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"6492183edc2d953eeab85220d67d36b5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"},"level":"info","message":"Attempting to update booking for experiment","requestID":"6492183edc2d953eeab85220d67d36b5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"},"level":"info","message":"Successfully updated booking for experiment","requestID":"6492183edc2d953eeab85220d67d36b5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"},"level":"info","message":"Successfully set up experiment","requestID":"6492183edc2d953eeab85220d67d36b5"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a0276cd0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a02793e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a027baf0-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"},"level":"info","message":"Successfully running experiment","requestID":"6492183edc2d953eeab85220d67d36b5"} authorization-1 | {"client_addr":"127.0.0.1:38362","level":"info","msg":"Received request.","req_id":687,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"client_addr":"127.0.0.1:38362","level":"info","msg":"Sent response.","req_id":687,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.913154,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":688,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a0276cd0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836338,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzOH0.5yXLM-qChTV9rvPIqiOkUgYsllfO-3diqrdPYJXwrdE"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a0276cd0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":688,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.772514,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a02793e0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836338,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzOH0.5yXLM-qChTV9rvPIqiOkUgYsllfO-3diqrdPYJXwrdE"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a02793e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:38378","level":"info","msg":"Received request.","req_id":689,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:16.514291563Z"}]},"request_id":"3f04544b-29a0-47e0-a299-64128b9eec58","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836338.7279272} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b5ca72f0-fc6f-4d43-8b09-f6d198fbc22e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836338.728086} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a0276cd0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a0276cd0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd20cdbe7-f582-42cb-831c-366a84b09085","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd20cdbe7-f582-42cb-831c-366a84b09085","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:16.558870227Z"}]},"request_id":"85879d55-7d40-4805-9629-07cfe68b0614","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836338.7290776} authorization-1 | {"client_addr":"127.0.0.1:38378","level":"info","msg":"Sent response.","req_id":689,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.843418,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a027baf0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","object_type":"device","rebac_allow":false,"scope_allow":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":"a027baf0-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a02793e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"GET /devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed? 200 17ms","method":"GET","requestID":"a0276cd0-651d-11ef-83ce-bd5a3df00b5c","responseTime":17,"status":200,"url":"/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a027baf0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed/signaling 200 17ms","method":"POST","requestID":"a027baf0-651d-11ef-83ce-bd5a3df00b5c","responseTime":17,"status":200,"url":"/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a02793e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/d20cdbe7-f582-42cb-831c-366a84b09085? 200 19ms","method":"GET","requestID":"a02793e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":19,"status":200,"url":"/devices/d20cdbe7-f582-42cb-831c-366a84b09085?"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fa29a8d04-03d4-409f-b8b0-92ecb766b49a#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fa29a8d04-03d4-409f-b8b0-92ecb766b49a","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"f159703a-9cb8-406e-98e4-5535fd319515","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836338.7377462} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a02aa120-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"215e37a7-fb7d-4527-af4e-4e59689a8aca","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836338.7382185} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"6492183edc2d953eeab85220d67d36b5","responseTime":17,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a02aef40-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:38378","level":"info","msg":"Received request.","req_id":690,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":691,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd20cdbe7-f582-42cb-831c-366a84b09085","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8b7c2a2f-3801-44fe-84cb-1445e74e0f46","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836338.744481} authorization-1 | {"client_addr":"127.0.0.1:38378","level":"info","msg":"Sent response.","req_id":690,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.901195,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a02aa120-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085","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/a29a8d04-03d4-409f-b8b0-92ecb766b49a","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"6492183edc2d953eeab85220d67d36b5"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a02aa120-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f01af5a6-92e6-4320-9aec-b5f412280bac","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836338.7458851} experiment-1 | {"level":"info","message":"POST /experiments? 201 147ms","method":"POST","requestID":"6492183edc2d953eeab85220d67d36b5","responseTime":147,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"28/Aug/2024:09:12:18 +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":"6492183edc2d953eeab85220d67d36b5"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":691,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.970644,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a02aef40-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a02aef40-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a02aa120-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzOH0.5yXLM-qChTV9rvPIqiOkUgYsllfO-3diqrdPYJXwrdE","level":"info","message":"auth send jwt","requestID":"c29908e64d0bc789e05e3e9b1eac9378"} device-1 | {"level":"info","message":"POST /devices/d20cdbe7-f582-42cb-831c-366a84b09085/signaling 200 13ms","method":"POST","requestID":"a02aa120-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/d20cdbe7-f582-42cb-831c-366a84b09085/signaling"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"c29908e64d0bc789e05e3e9b1eac9378","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c29908e64d0bc789e05e3e9b1eac9378"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a02aef40-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed/signaling 200 13ms","method":"POST","requestID":"a02aef40-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed/signaling"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":692,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":692,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.910308,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:18Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a02d3930-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"c29908e64d0bc789e05e3e9b1eac9378","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836338,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzOH0.5yXLM-qChTV9rvPIqiOkUgYsllfO-3diqrdPYJXwrdE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c29908e64d0bc789e05e3e9b1eac9378","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":693,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:16.514291563Z"}]},"request_id":"04e68c9e-88c3-484f-b4e3-6a9386e6a1b9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836338.759255} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd20cdbe7-f582-42cb-831c-366a84b09085","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8ab2dfb9-bb3a-4184-93ca-81c728b158eb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836338.7593687} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"c29908e64d0bc789e05e3e9b1eac9378","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":693,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.313211,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a02d3930-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085","object_type":"device","rebac_allow":false,"scope_allow":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":"a02d3930-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c29908e64d0bc789e05e3e9b1eac9378"} gateway-1 | {"time_local":"28/Aug/2024:09:12:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed? 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":"c29908e64d0bc789e05e3e9b1eac9378"} device-1 | {"level":"info","message":"GET /devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed? 200 11ms","method":"GET","requestID":"c29908e64d0bc789e05e3e9b1eac9378","responseTime":11,"status":200,"url":"/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a02d3930-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/d20cdbe7-f582-42cb-831c-366a84b09085/signaling 200 8ms","method":"POST","requestID":"a02d3930-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/d20cdbe7-f582-42cb-831c-366a84b09085/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"6492183edc2d953eeab85220d67d36b5"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"},"level":"info","message":"Building connection plan","requestID":"6492183edc2d953eeab85220d67d36b5"} 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":"8ef3c38f-d3ac-4a20-b762-231c5b74eaaa"},{"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":"28e02c56-0334-4b7d-bc0d-cd305cd0e9e8"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"fca4eb36-36dc-4f1c-847c-80c1041df60a"}]},"level":"info","message":"Built pairwise service configurations","requestID":"6492183edc2d953eeab85220d67d36b5"} 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/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed"},{"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/d20cdbe7-f582-42cb-831c-366a84b09085"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"6492183edc2d953eeab85220d67d36b5"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"a02f0df0-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzOH0.5yXLM-qChTV9rvPIqiOkUgYsllfO-3diqrdPYJXwrdE","level":"info","message":"auth send jwt","requestID":"bdd93afc3e0ec5a82455fe30646bc3bb"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"bdd93afc3e0ec5a82455fe30646bc3bb","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"bdd93afc3e0ec5a82455fe30646bc3bb"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":694,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":694,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.695815,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a02f0df0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836338,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzOH0.5yXLM-qChTV9rvPIqiOkUgYsllfO-3diqrdPYJXwrdE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a02f0df0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":695,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":695,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":2.136291,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"bdd93afc3e0ec5a82455fe30646bc3bb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836338,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjMzOH0.5yXLM-qChTV9rvPIqiOkUgYsllfO-3diqrdPYJXwrdE"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"bdd93afc3e0ec5a82455fe30646bc3bb","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"20d648d7-9661-43a3-94fd-06708808ac0d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836338.7808459} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"fb0d1381-da49-41bf-bde9-83af4d01ca1c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836338.78095} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd20cdbe7-f582-42cb-831c-366a84b09085","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd20cdbe7-f582-42cb-831c-366a84b09085","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:16.558870227Z"}]},"request_id":"2ec45fe0-f0d3-4b26-a9aa-c9693655db94","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836338.7815657} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"a02f0df0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"bdd93afc3e0ec5a82455fe30646bc3bb","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"bdd93afc3e0ec5a82455fe30646bc3bb"} gateway-1 | {"time_local":"28/Aug/2024:09:12:18 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d20cdbe7-f582-42cb-831c-366a84b09085? 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":"bdd93afc3e0ec5a82455fe30646bc3bb"} device-1 | {"level":"info","message":"GET /devices/d20cdbe7-f582-42cb-831c-366a84b09085? 200 17ms","method":"GET","requestID":"bdd93afc3e0ec5a82455fe30646bc3bb","responseTime":17,"status":200,"url":"/devices/d20cdbe7-f582-42cb-831c-366a84b09085?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"a02f0df0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"a02f0df0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/59bff483-6ff0-46c6-a7f5-25f194706f7c'","requestID":"a02f0df0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/59bff483-6ff0-46c6-a7f5-25f194706f7c'","requestID":"a02f0df0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"a02f0df0-651d-11ef-83ce-bd5a3df00b5c"} 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":"a02f0df0-651d-11ef-83ce-bd5a3df00b5c","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":"a02f0df0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/59bff483-6ff0-46c6-a7f5-25f194706f7c","device":"d20cdbe7-f582-42cb-831c-366a84b09085","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/a29a8d04-03d4-409f-b8b0-92ecb766b49a"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"6492183edc2d953eeab85220d67d36b5"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a03b6a00-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":696,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"eb991b00-6a87-4ebd-936f-f8ef670c381d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836338.8523505} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":696,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.221313,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a03b6a00-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a03b6a00-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a03b6a00-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed/signaling 200 8ms","method":"POST","requestID":"a03b6a00-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a03cc990-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":697,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd20cdbe7-f582-42cb-831c-366a84b09085","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2b737822-68b7-42bb-b9c0-b17f6a6e5c30","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836338.8618977} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":697,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.62485,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:18Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a03cc990-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a03cc990-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"d20cdbe7-f582-42cb-831c-366a84b09085","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"d20cdbe7-f582-42cb-831c-366a84b09085","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a03cc990-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/d20cdbe7-f582-42cb-831c-366a84b09085/signaling 200 10ms","method":"POST","requestID":"a03cc990-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/d20cdbe7-f582-42cb-831c-366a84b09085/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 4294960370445611136 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:rH4t\r\na=ice-pwd:r/P0zzUzOegWGgZfiOt5jgml\r\na=ice-options:trickle\r\na=fingerprint:sha-256 50:73:CD:7C:18:8E:BA:BF:56:14:91:F6:35:D2:8B:91:F7:2F:36:AD:5C:4D:79:8E:BC:7C:95:59:DA:82:DC:50\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"d20cdbe7-f582-42cb-831c-366a84b09085","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"device":"d20cdbe7-f582-42cb-831c-366a84b09085","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","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":"59bff483-6ff0-46c6-a7f5-25f194706f7c","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","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":"4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","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":"4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","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":"4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","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/59bff483-6ff0-46c6-a7f5-25f194706f7c' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"59bff483-6ff0-46c6-a7f5-25f194706f7c","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6a2eca4d49871a3304a943981049b2c8","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"6a2eca4d49871a3304a943981049b2c8","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/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed"},{"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/d20cdbe7-f582-42cb-831c-366a84b09085"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/59bff483-6ff0-46c6-a7f5-25f194706f7c"}}},"level":"info","message":"received a callback","requestID":"6a2eca4d49871a3304a943981049b2c8"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 7ms","method":"POST","requestID":"6a2eca4d49871a3304a943981049b2c8","responseTime":7,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12: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.009","http_referrer":"","http_user_agent":"node-fetch","requestID":"6a2eca4d49871a3304a943981049b2c8"} device-1 | {"content":{"candidate":"candidate:2984056905 1 udp 2113937151 8980373b-c6c0-4f74-ae29-78b3a7b6b820.local 54099 typ host generation 0 ufrag rH4t network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"d20cdbe7-f582-42cb-831c-366a84b09085","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3033863953 1 udp 1677729535 141.24.211.56 54099 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag rH4t network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"d20cdbe7-f582-42cb-831c-366a84b09085","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:3889735834 1 udp 33562623 141.24.210.113 58805 typ relay raddr 141.24.211.56 rport 54099 generation 0 ufrag rH4t network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"d20cdbe7-f582-42cb-831c-366a84b09085","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","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":"d20cdbe7-f582-42cb-831c-366a84b09085","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"d20cdbe7-f582-42cb-831c-366a84b09085","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","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":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085'"} device-1 | {"data":{"peerconnection":"59bff483-6ff0-46c6-a7f5-25f194706f7c","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0MH0.IMGFYSf0Q2pNEns-ArCEen4ONRkCidip_uNMKsqqyG4","level":"info","message":"auth send jwt","requestID":"49c8f7dad335cbe8df56e9357062af0d"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"49c8f7dad335cbe8df56e9357062af0d","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a","requestID":"49c8f7dad335cbe8df56e9357062af0d"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":698,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:20Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":698,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.015062,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:20Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"49c8f7dad335cbe8df56e9357062af0d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836340,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0MH0.IMGFYSf0Q2pNEns-ArCEen4ONRkCidip_uNMKsqqyG4"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"49c8f7dad335cbe8df56e9357062af0d","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a","requestID":"49c8f7dad335cbe8df56e9357062af0d"} gateway-1 | {"time_local":"28/Aug/2024:09:12:20 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a HTTP/1.1","status": "200","body_bytes_sent":"1286","request_time":"0.019","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"49c8f7dad335cbe8df56e9357062af0d"} experiment-1 | {"level":"info","message":"GET /experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a 200 12ms","method":"GET","requestID":"49c8f7dad335cbe8df56e9357062af0d","responseTime":12,"status":200,"url":"/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0MX0.cO7SSONBT0IctI7y0maYKi3hrSeJdVWUcwsbk0Ipszc","level":"info","message":"auth send jwt","requestID":"9bed8ab38043814717759151c796e6ce"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"9bed8ab38043814717759151c796e6ce","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a","requestID":"9bed8ab38043814717759151c796e6ce"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":699,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:21Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":699,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.348117,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9bed8ab38043814717759151c796e6ce","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836341,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0MX0.cO7SSONBT0IctI7y0maYKi3hrSeJdVWUcwsbk0Ipszc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"9bed8ab38043814717759151c796e6ce","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a","requestID":"9bed8ab38043814717759151c796e6ce"} gateway-1 | {"time_local":"28/Aug/2024:09:12:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a HTTP/1.1","status": "200","body_bytes_sent":"1286","request_time":"0.020","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9bed8ab38043814717759151c796e6ce"} experiment-1 | {"level":"info","message":"GET /experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a 200 13ms","method":"GET","requestID":"9bed8ab38043814717759151c796e6ce","responseTime":13,"status":200,"url":"/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"} device-1 | {"data":{"peerconnection":"59bff483-6ff0-46c6-a7f5-25f194706f7c","statusDeviceA":"connecting","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0MX0.cO7SSONBT0IctI7y0maYKi3hrSeJdVWUcwsbk0Ipszc","level":"info","message":"auth send jwt","requestID":"ff05ae6df3c3e40d9954d8e5200393bc"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"ff05ae6df3c3e40d9954d8e5200393bc","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a","requestID":"ff05ae6df3c3e40d9954d8e5200393bc"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":700,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:21Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":700,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.96656,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ff05ae6df3c3e40d9954d8e5200393bc","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836341,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0MX0.cO7SSONBT0IctI7y0maYKi3hrSeJdVWUcwsbk0Ipszc"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ff05ae6df3c3e40d9954d8e5200393bc","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a","requestID":"ff05ae6df3c3e40d9954d8e5200393bc"} gateway-1 | {"time_local":"28/Aug/2024:09:12:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a HTTP/1.1","status": "200","body_bytes_sent":"1286","request_time":"0.014","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ff05ae6df3c3e40d9954d8e5200393bc"} experiment-1 | {"level":"info","message":"GET /experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a 200 11ms","method":"GET","requestID":"ff05ae6df3c3e40d9954d8e5200393bc","responseTime":11,"status":200,"url":"/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/59bff483-6ff0-46c6-a7f5-25f194706f7c' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"59bff483-6ff0-46c6-a7f5-25f194706f7c","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"7e2a9515293c5e50afaa7d5dfd2b4cdd","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"7e2a9515293c5e50afaa7d5dfd2b4cdd","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/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed"},{"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/d20cdbe7-f582-42cb-831c-366a84b09085"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/59bff483-6ff0-46c6-a7f5-25f194706f7c"}}},"level":"info","message":"received a callback","requestID":"7e2a9515293c5e50afaa7d5dfd2b4cdd"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"a1a9a000-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":701,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:21Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F59bff483-6ff0-46c6-a7f5-25f194706f7c","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7e83fa47-6b24-4357-954e-c3d84168274e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836341.252003} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":701,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.393881,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/59bff483-6ff0-46c6-a7f5-25f194706f7c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a1a9a000-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/59bff483-6ff0-46c6-a7f5-25f194706f7c","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":"a1a9a000-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"a1a9a000-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/59bff483-6ff0-46c6-a7f5-25f194706f7c 200 68ms","method":"GET","requestID":"a1a9a000-651d-11ef-83ce-bd5a3df00b5c","responseTime":68,"status":200,"url":"/peerconnections/59bff483-6ff0-46c6-a7f5-25f194706f7c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0MX0.cO7SSONBT0IctI7y0maYKi3hrSeJdVWUcwsbk0Ipszc","level":"info","message":"auth send jwt","requestID":"9b3f4bc89f231f9152f633b51418a8f2"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"9b3f4bc89f231f9152f633b51418a8f2","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a","requestID":"9b3f4bc89f231f9152f633b51418a8f2"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":702,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:21Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":702,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.693296,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:21Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"9b3f4bc89f231f9152f633b51418a8f2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836341,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0MX0.cO7SSONBT0IctI7y0maYKi3hrSeJdVWUcwsbk0Ipszc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"9b3f4bc89f231f9152f633b51418a8f2","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 196ms","method":"POST","requestID":"7e2a9515293c5e50afaa7d5dfd2b4cdd","responseTime":196,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12: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.198","http_referrer":"","http_user_agent":"node-fetch","requestID":"7e2a9515293c5e50afaa7d5dfd2b4cdd"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a1c69de0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":703,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:21Z"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a","requestID":"9b3f4bc89f231f9152f633b51418a8f2"} gateway-1 | {"time_local":"28/Aug/2024:09:12:21 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a HTTP/1.1","status": "200","body_bytes_sent":"1288","request_time":"0.107","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"9b3f4bc89f231f9152f633b51418a8f2"} experiment-1 | {"level":"info","message":"GET /experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a 200 103ms","method":"GET","requestID":"9b3f4bc89f231f9152f633b51418a8f2","responseTime":103,"status":200,"url":"/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"f210a77a-4efc-4836-988d-0a1a722d4551","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836341.4427776} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":703,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.817085,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a1c69de0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a1c69de0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0MX0.cO7SSONBT0IctI7y0maYKi3hrSeJdVWUcwsbk0Ipszc","level":"info","message":"auth send jwt","requestID":"70c66123496daf9ad389af776fe342f8"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"70c66123496daf9ad389af776fe342f8","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a1c69de0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed/signaling 200 9ms","method":"POST","requestID":"a1c69de0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed/signaling"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a","requestID":"70c66123496daf9ad389af776fe342f8"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":704,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:21Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":704,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.763622,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:21Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a1c899b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"70c66123496daf9ad389af776fe342f8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836341,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0MX0.cO7SSONBT0IctI7y0maYKi3hrSeJdVWUcwsbk0Ipszc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"70c66123496daf9ad389af776fe342f8","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":705,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:21Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd20cdbe7-f582-42cb-831c-366a84b09085","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4fdb4927-f39d-47ad-8158-b11ec6edad3f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836341.456191} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":705,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.741194,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:21Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"},"level":"info","message":"Attempting to finish experiment","requestID":"70c66123496daf9ad389af776fe342f8"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a1c899b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a1c899b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"a1c9ab20-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":706,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:21Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a1c899b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/d20cdbe7-f582-42cb-831c-366a84b09085/signaling 200 12ms","method":"POST","requestID":"a1c899b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/d20cdbe7-f582-42cb-831c-366a84b09085/signaling"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":706,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":4.207525,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:21Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/59bff483-6ff0-46c6-a7f5-25f194706f7c","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a1c9ab20-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/59bff483-6ff0-46c6-a7f5-25f194706f7c","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836341,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0MX0.cO7SSONBT0IctI7y0maYKi3hrSeJdVWUcwsbk0Ipszc"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a1c9ab20-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/59bff483-6ff0-46c6-a7f5-25f194706f7c","device":"d20cdbe7-f582-42cb-831c-366a84b09085","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"device":"4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","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":"4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","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":"4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","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/59bff483-6ff0-46c6-a7f5-25f194706f7c' to 'http://localhost/callbacks/experiment'"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F59bff483-6ff0-46c6-a7f5-25f194706f7c': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F59bff483-6ff0-46c6-a7f5-25f194706f7c","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"70cd4d32-3492-4746-92a9-79303462ffd0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836341.478182} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6d068e27-3f4a-4893-9ad3-8d6246e0bdca","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836341.478446} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"5177271c87776770019b52f4c93b3a7e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/59bff483-6ff0-46c6-a7f5-25f194706f7c' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"59bff483-6ff0-46c6-a7f5-25f194706f7c","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"5177271c87776770019b52f4c93b3a7e","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"a1c9ab20-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"93ca1739b539636de5126d0f4593dfaa","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed"},{"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/d20cdbe7-f582-42cb-831c-366a84b09085"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/59bff483-6ff0-46c6-a7f5-25f194706f7c"}}},"level":"info","message":"received a callback","requestID":"5177271c87776770019b52f4c93b3a7e"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"93ca1739b539636de5126d0f4593dfaa","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/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed"},{"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/d20cdbe7-f582-42cb-831c-366a84b09085"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/59bff483-6ff0-46c6-a7f5-25f194706f7c"}}},"level":"info","message":"received a callback","requestID":"93ca1739b539636de5126d0f4593dfaa"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"a1c9ab20-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/59bff483-6ff0-46c6-a7f5-25f194706f7c 204 258ms","method":"DELETE","requestID":"a1c9ab20-651d-11ef-83ce-bd5a3df00b5c","responseTime":258,"status":204,"url":"/peerconnections/59bff483-6ff0-46c6-a7f5-25f194706f7c"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"},"level":"info","message":"Successfully finished experiment","requestID":"70c66123496daf9ad389af776fe342f8"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a2002470-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":707,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:21Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9b8ab822-b4d4-436b-a87e-260d84b0b884","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836341.8204987} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":707,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.617358,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:21Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a2002470-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed/signaling 200 8ms","method":"POST","requestID":"a2002470-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed/signaling"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a2002470-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a2002470-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a201d220-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":708,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:21Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd20cdbe7-f582-42cb-831c-366a84b09085","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e62daa30-a0a5-4c0d-b785-5d1aa064c444","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836341.8313115} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":708,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.048759,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:21Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a201d220-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a201d220-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a201d220-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/d20cdbe7-f582-42cb-831c-366a84b09085/signaling 200 9ms","method":"POST","requestID":"a201d220-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/d20cdbe7-f582-42cb-831c-366a84b09085/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fa29a8d04-03d4-409f-b8b0-92ecb766b49a': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Fa29a8d04-03d4-409f-b8b0-92ecb766b49a","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"2f299a53-1bd5-48bb-8d6a-b6c623fb175f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836341.9569583} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"400e9639-47ca-481b-b818-cdf212b56497","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836341.9571414} authorization-1 | {"level":"info","message":"POST /relations/update 200 145ms","method":"POST","requestID":"70c66123496daf9ad389af776fe342f8","responseTime":145,"status":200,"url":"/relations/update"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a","requestID":"70c66123496daf9ad389af776fe342f8"} gateway-1 | {"time_local":"28/Aug/2024:09:12:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"1.188","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"70c66123496daf9ad389af776fe342f8"} gateway-1 | {"time_local":"28/Aug/2024:09:12:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3194","request_time":"5.067","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"ad3af4822b2a57699829ed937d3a1bc6"} experiment-1 | {"level":"info","message":"DELETE /experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a 204 1186ms","method":"DELETE","requestID":"70c66123496daf9ad389af776fe342f8","responseTime":1186,"status":204,"url":"/experiments/a29a8d04-03d4-409f-b8b0-92ecb766b49a"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 1157ms","method":"POST","requestID":"5177271c87776770019b52f4c93b3a7e","responseTime":1157,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12: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":"1.159","http_referrer":"","http_user_agent":"node-fetch","requestID":"5177271c87776770019b52f4c93b3a7e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 1156ms","method":"POST","requestID":"93ca1739b539636de5126d0f4593dfaa","responseTime":1156,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12: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":"1.160","http_referrer":"","http_user_agent":"node-fetch","requestID":"93ca1739b539636de5126d0f4593dfaa"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0Mn0.PyhJ4boPwC7P5hPWUucU0YYNUsupLJxsgcNoRoILGo8","level":"info","message":"auth send jwt","requestID":"e3216eb8a2522e56012efee5208ec8d1"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"e3216eb8a2522e56012efee5208ec8d1","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"e3216eb8a2522e56012efee5208ec8d1"} gateway-1 | {"time_local":"28/Aug/2024:09:12:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2702","request_time":"4.089","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"1f9842627c879c1d6d117ee1babc7542"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":709,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:22Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":709,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.010416,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:22Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"e3216eb8a2522e56012efee5208ec8d1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836342,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0Mn0.PyhJ4boPwC7P5hPWUucU0YYNUsupLJxsgcNoRoILGo8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"e3216eb8a2522e56012efee5208ec8d1","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/4ee8c9df-38ab-4fa1-ba6d-38762ad9cbed' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"068c6a2f-e398-4a4f-9a0c-55725af63628","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836342.807615} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/d20cdbe7-f582-42cb-831c-366a84b09085' closed"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e3216eb8a2522e56012efee5208ec8d1","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a3b5605b-b0a3-43ae-9e94-883be90155c2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836342.8117154} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"e3216eb8a2522e56012efee5208ec8d1","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"5cf98264-3a53-4912-9c7a-253150639f8b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836342.8246558} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c5676fb8-b816-46c7-9a68-b25ab6df25a5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836342.8248954} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"e3216eb8a2522e56012efee5208ec8d1","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:22.824631913Z"}]},"request_id":"1c049069-d7b5-4c47-8dac-43ff9554008b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836342.8296125} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"e3216eb8a2522e56012efee5208ec8d1","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"e3216eb8a2522e56012efee5208ec8d1"} gateway-1 | {"time_local":"28/Aug/2024:09:12:22 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.197","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e3216eb8a2522e56012efee5208ec8d1"} device-1 | {"level":"info","message":"POST /devices? 201 190ms","method":"POST","requestID":"e3216eb8a2522e56012efee5208ec8d1","responseTime":190,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0Mn0.PyhJ4boPwC7P5hPWUucU0YYNUsupLJxsgcNoRoILGo8","level":"info","message":"auth send jwt","requestID":"84e2a1f9b6049af5bb7f7ae636e4f4aa"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"84e2a1f9b6049af5bb7f7ae636e4f4aa","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"84e2a1f9b6049af5bb7f7ae636e4f4aa"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":710,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:22Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":710,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.68264,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:22Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"84e2a1f9b6049af5bb7f7ae636e4f4aa","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836342,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0Mn0.PyhJ4boPwC7P5hPWUucU0YYNUsupLJxsgcNoRoILGo8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"84e2a1f9b6049af5bb7f7ae636e4f4aa","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4136191e-845b-4b23-b840-49476761d2cb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"9d5f64ae-2dfd-4573-85d3-d907fb00f30c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836342.864911} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"84e2a1f9b6049af5bb7f7ae636e4f4aa","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"1b69dd2f-ea88-4882-8e74-94a7e7eb2ac6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836342.8693876} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"84e2a1f9b6049af5bb7f7ae636e4f4aa","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4136191e-845b-4b23-b840-49476761d2cb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"2efe63e4-06ec-4ac4-b689-96fada06f5b1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836342.8821993} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cfe7b102-30a1-445f-befd-e594d1afbcb9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836342.8825192} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"84e2a1f9b6049af5bb7f7ae636e4f4aa","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4136191e-845b-4b23-b840-49476761d2cb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4136191e-845b-4b23-b840-49476761d2cb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:22.882171676Z"}]},"request_id":"60dec7f1-fb38-4b30-9ee7-12af948dc80e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836342.8858664} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"84e2a1f9b6049af5bb7f7ae636e4f4aa","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"84e2a1f9b6049af5bb7f7ae636e4f4aa"} gateway-1 | {"time_local":"28/Aug/2024:09:12: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.055","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"84e2a1f9b6049af5bb7f7ae636e4f4aa"} device-1 | {"level":"info","message":"POST /devices? 201 50ms","method":"POST","requestID":"84e2a1f9b6049af5bb7f7ae636e4f4aa","responseTime":50,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0M30.BO0GyxZaIhvq_ounYf8ucF5YIrEmWTGwWf-9aZmTrCE","level":"info","message":"auth send jwt","requestID":"c7130a19858a117d5ba610d3e5be9dd6"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c7130a19858a117d5ba610d3e5be9dd6","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"c7130a19858a117d5ba610d3e5be9dd6"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":711,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:23Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":711,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.740138,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:23Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"c7130a19858a117d5ba610d3e5be9dd6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836343,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0M30.BO0GyxZaIhvq_ounYf8ucF5YIrEmWTGwWf-9aZmTrCE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c7130a19858a117d5ba610d3e5be9dd6","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:22.824631913Z"}]},"request_id":"3b226710-f81e-411a-81c9-2fcc825b8a93","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836343.4438539} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c7130a19858a117d5ba610d3e5be9dd6","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c738ea04-c459-4cae-a65c-3e43fe4753cf","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836343.448385} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"c7130a19858a117d5ba610d3e5be9dd6","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:22.824631913Z"}]},"request_id":"db65fb01-ef80-4158-b1c4-c5dc662ec774","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836343.4801927} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"c7130a19858a117d5ba610d3e5be9dd6","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"c7130a19858a117d5ba610d3e5be9dd6"} gateway-1 | {"time_local":"28/Aug/2024:09:12:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.051","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"c7130a19858a117d5ba610d3e5be9dd6"} device-1 | {"level":"info","message":"PATCH /devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b 200 47ms","method":"PATCH","requestID":"c7130a19858a117d5ba610d3e5be9dd6","responseTime":47,"status":200,"url":"/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0M30.BO0GyxZaIhvq_ounYf8ucF5YIrEmWTGwWf-9aZmTrCE","level":"info","message":"auth send jwt","requestID":"66148118eb91b8310b22f4861a890677"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"66148118eb91b8310b22f4861a890677","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"66148118eb91b8310b22f4861a890677"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":712,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:23Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":712,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.711422,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:23Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"66148118eb91b8310b22f4861a890677","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836343,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0M30.BO0GyxZaIhvq_ounYf8ucF5YIrEmWTGwWf-9aZmTrCE"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"66148118eb91b8310b22f4861a890677","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"66148118eb91b8310b22f4861a890677"} device-1 | {"level":"info","message":"POST /devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b/websocket 200 17ms","method":"POST","requestID":"66148118eb91b8310b22f4861a890677","responseTime":17,"status":200,"url":"/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b/websocket"} gateway-1 | {"time_local":"28/Aug/2024:09:12:23 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b/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":"66148118eb91b8310b22f4861a890677"} device-1 | {"level":"info","message":"device 'http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"6d205d6961fad87d02a4756379f8ab0e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"6d205d6961fad87d02a4756379f8ab0e","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:12:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/4136191e-845b-4b23-b840-49476761d2cb/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":"6d205d6961fad87d02a4756379f8ab0e"} device-1 | {"level":"info","message":"OPTIONS /devices/4136191e-845b-4b23-b840-49476761d2cb/websocket 200 2ms","method":"OPTIONS","requestID":"6d205d6961fad87d02a4756379f8ab0e","responseTime":2,"status":200,"url":"/devices/4136191e-845b-4b23-b840-49476761d2cb/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0NH0.nfqvwHcDjJf7_txsQi8YDSzimye6ndzu9N4eipUWjak","level":"info","message":"auth send jwt","requestID":"ca59a10695e918154f17abdce41c44ee"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ca59a10695e918154f17abdce41c44ee","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"ca59a10695e918154f17abdce41c44ee"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":713,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:24Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":713,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.969208,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:24Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ca59a10695e918154f17abdce41c44ee","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836344,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0NH0.nfqvwHcDjJf7_txsQi8YDSzimye6ndzu9N4eipUWjak"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ca59a10695e918154f17abdce41c44ee","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"ca59a10695e918154f17abdce41c44ee"} gateway-1 | {"time_local":"28/Aug/2024:09:12:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/4136191e-845b-4b23-b840-49476761d2cb/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":"ca59a10695e918154f17abdce41c44ee"} device-1 | {"level":"info","message":"POST /devices/4136191e-845b-4b23-b840-49476761d2cb/websocket 200 28ms","method":"POST","requestID":"ca59a10695e918154f17abdce41c44ee","responseTime":28,"status":200,"url":"/devices/4136191e-845b-4b23-b840-49476761d2cb/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0NH0.nfqvwHcDjJf7_txsQi8YDSzimye6ndzu9N4eipUWjak","level":"info","message":"auth send jwt","requestID":"ecede356e8b690cbe04d63f05f6d1ff7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ecede356e8b690cbe04d63f05f6d1ff7","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ecede356e8b690cbe04d63f05f6d1ff7"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":714,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:24Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":714,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.873832,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ecede356e8b690cbe04d63f05f6d1ff7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836344,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0NH0.nfqvwHcDjJf7_txsQi8YDSzimye6ndzu9N4eipUWjak"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ecede356e8b690cbe04d63f05f6d1ff7","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:22.824631913Z"}]},"request_id":"ff17be7d-0a5e-4320-98eb-19156d5b7ced","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836344.8698232} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ecede356e8b690cbe04d63f05f6d1ff7","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ecede356e8b690cbe04d63f05f6d1ff7"} device-1 | {"level":"info","message":"GET /devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b? 200 13ms","method":"GET","requestID":"ecede356e8b690cbe04d63f05f6d1ff7","responseTime":13,"status":200,"url":"/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b?"} gateway-1 | {"time_local":"28/Aug/2024:09:12:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b? 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":"ecede356e8b690cbe04d63f05f6d1ff7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0NH0.nfqvwHcDjJf7_txsQi8YDSzimye6ndzu9N4eipUWjak","level":"info","message":"auth send jwt","requestID":"2d1178468bd9d5ca5545e934c4296b57"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"2d1178468bd9d5ca5545e934c4296b57","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"2d1178468bd9d5ca5545e934c4296b57"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":715,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:24Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":715,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.965135,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"2d1178468bd9d5ca5545e934c4296b57","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836344,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0NH0.nfqvwHcDjJf7_txsQi8YDSzimye6ndzu9N4eipUWjak"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"2d1178468bd9d5ca5545e934c4296b57","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4136191e-845b-4b23-b840-49476761d2cb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4136191e-845b-4b23-b840-49476761d2cb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:22.882171676Z"}]},"request_id":"0d03ccb3-e934-40ad-ac9c-9695e8f056bc","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836344.8921273} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"2d1178468bd9d5ca5545e934c4296b57","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"2d1178468bd9d5ca5545e934c4296b57"} gateway-1 | {"time_local":"28/Aug/2024:09:12:24 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4136191e-845b-4b23-b840-49476761d2cb? 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":"2d1178468bd9d5ca5545e934c4296b57"} device-1 | {"level":"info","message":"GET /devices/4136191e-845b-4b23-b840-49476761d2cb? 200 16ms","method":"GET","requestID":"2d1178468bd9d5ca5545e934c4296b57","responseTime":16,"status":200,"url":"/devices/4136191e-845b-4b23-b840-49476761d2cb?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0NH0.nfqvwHcDjJf7_txsQi8YDSzimye6ndzu9N4eipUWjak","level":"info","message":"auth send jwt","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d370c97ff1d536dbeffec9dd3c399ea4","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":716,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:24Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":716,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.93972,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:24Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"d370c97ff1d536dbeffec9dd3c399ea4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836344,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0NH0.nfqvwHcDjJf7_txsQi8YDSzimye6ndzu9N4eipUWjak"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d370c97ff1d536dbeffec9dd3c399ea4","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2"},"level":"info","message":"Attempting to run experiment","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2"},"level":"info","message":"Attempting to book experiment","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2"},"level":"info","message":"Successfully booked experiment","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a3df92d0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":717,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:24Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":717,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.938422,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a3df92d0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836344,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0NH0.nfqvwHcDjJf7_txsQi8YDSzimye6ndzu9N4eipUWjak"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a3df92d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a3e0a440-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":718,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:24Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":718,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.599886,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:24Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a3e0a440-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836344,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0NH0.nfqvwHcDjJf7_txsQi8YDSzimye6ndzu9N4eipUWjak"} authorization-1 | {"level":"info","message":"POST /authorize 200 10ms","method":"POST","requestID":"a3e0a440-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:22.824631913Z"}]},"request_id":"8fbcfc9a-71b2-4c96-953d-f10ce8781d41","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836344.973375} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"a3df92d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a3df92d0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b? 200 24ms","method":"GET","requestID":"a3df92d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":24,"status":200,"url":"/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4136191e-845b-4b23-b840-49476761d2cb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4136191e-845b-4b23-b840-49476761d2cb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:22.882171676Z"}]},"request_id":"9f74f21b-cbf2-45e3-ac70-d42aeac85fd5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836344.9843965} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"a3e0a440-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a3e0a440-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2"},"level":"info","message":"Setting up experiment","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} device-1 | {"level":"info","message":"GET /devices/4136191e-845b-4b23-b840-49476761d2cb? 200 27ms","method":"GET","requestID":"a3e0a440-651d-11ef-83ce-bd5a3df00b5c","responseTime":27,"status":200,"url":"/devices/4136191e-845b-4b23-b840-49476761d2cb?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2"},"level":"info","message":"Successfully locked booking for experiment","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2"},"level":"info","message":"Attempting to update booking for experiment","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2"},"level":"info","message":"Successfully updated booking for experiment","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2"},"level":"info","message":"Successfully set up experiment","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a3ef4a40-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a3efbf70-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":719,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":719,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.8533,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a3ef4a40-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836344,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0NH0.nfqvwHcDjJf7_txsQi8YDSzimye6ndzu9N4eipUWjak"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a3ef4a40-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a3f0f7f0-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2"},"level":"info","message":"Successfully running experiment","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":720,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":720,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.115377,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:22.824631913Z"}]},"request_id":"da27032b-c206-476c-9e05-ab891834bcf6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836345.0745163} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a3ef4a40-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b? 200 21ms","method":"GET","requestID":"a3ef4a40-651d-11ef-83ce-bd5a3df00b5c","responseTime":21,"status":200,"url":"/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"a3ef4a40-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a3efbf70-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836344,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0NH0.nfqvwHcDjJf7_txsQi8YDSzimye6ndzu9N4eipUWjak"} authorization-1 | {"level":"info","message":"POST /authorize 200 19ms","method":"POST","requestID":"a3efbf70-651d-11ef-83ce-bd5a3df00b5c","responseTime":19,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":721,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":721,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.427205,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bb4a5913-418e-4699-a816-25d4b169a2e8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836345.083131} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a3f0f7f0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","object_type":"device","rebac_allow":false,"scope_allow":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":"a3f0f7f0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4136191e-845b-4b23-b840-49476761d2cb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4136191e-845b-4b23-b840-49476761d2cb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:22.882171676Z"}]},"request_id":"517a24bf-18f7-42a1-b0d5-932a4fb0e006","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836345.0903358} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a3efbf70-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a3f0f7f0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b/signaling 200 29ms","method":"POST","requestID":"a3f0f7f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":29,"status":200,"url":"/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a3efbf70-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/4136191e-845b-4b23-b840-49476761d2cb? 200 39ms","method":"GET","requestID":"a3efbf70-651d-11ef-83ce-bd5a3df00b5c","responseTime":39,"status":200,"url":"/devices/4136191e-845b-4b23-b840-49476761d2cb?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a3f5d9f0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a3f60100-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F09eb4183-c29e-45ed-ae17-841f8dc48ca2#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F09eb4183-c29e-45ed-ae17-841f8dc48ca2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"8b7709ba-bda2-4c70-af6d-17d304362901","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836345.1070895} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"82ec3173-c5d0-447e-a94e-cb71b2e28af1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836345.110401} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":722,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":723,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"level":"info","message":"POST /relations/update 200 40ms","method":"POST","requestID":"d370c97ff1d536dbeffec9dd3c399ea4","responseTime":40,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4136191e-845b-4b23-b840-49476761d2cb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e6d632a5-890e-4a5b-9ed4-23bdb11d2d3b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836345.114252} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":722,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":6.117456,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":723,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.817304,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a3f5d9f0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 16ms","method":"POST","requestID":"a3f5d9f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"82b042b1-63bf-480f-a4e2-71e9d5e115c1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836345.1153393} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a3f60100-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","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/09eb4183-c29e-45ed-ae17-841f8dc48ca2","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} experiment-1 | {"level":"info","message":"POST /experiments? 201 219ms","method":"POST","requestID":"d370c97ff1d536dbeffec9dd3c399ea4","responseTime":219,"status":201,"url":"/experiments?"} authorization-1 | {"level":"info","message":"POST /authorize 200 14ms","method":"POST","requestID":"a3f60100-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a3f5d9f0-651d-11ef-83ce-bd5a3df00b5c"} gateway-1 | {"time_local":"28/Aug/2024:09:12:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1215","request_time":"0.225","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} device-1 | {"level":"info","message":"POST /devices/4136191e-845b-4b23-b840-49476761d2cb/signaling 200 28ms","method":"POST","requestID":"a3f5d9f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":28,"status":200,"url":"/devices/4136191e-845b-4b23-b840-49476761d2cb/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0NX0.hD8R-yJpJvQ7rNN9TA99OePORmIhvzGmAtkpyzj-T24","level":"info","message":"auth send jwt","requestID":"c2774263edc548d118f49f5b830fea98"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c2774263edc548d118f49f5b830fea98","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"c2774263edc548d118f49f5b830fea98"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a3f60100-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b/signaling 200 32ms","method":"POST","requestID":"a3f60100-651d-11ef-83ce-bd5a3df00b5c","responseTime":32,"status":200,"url":"/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a3fc1b80-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":724,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":724,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.170499,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"c2774263edc548d118f49f5b830fea98","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836345,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0NX0.hD8R-yJpJvQ7rNN9TA99OePORmIhvzGmAtkpyzj-T24"} authorization-1 | {"level":"info","message":"POST /authorize 200 11ms","method":"POST","requestID":"c2774263edc548d118f49f5b830fea98","responseTime":12,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":725,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":725,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.119075,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4136191e-845b-4b23-b840-49476761d2cb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0cbbbf8c-b8eb-413d-85ba-0dca9ff741d1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836345.1503723} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:22.824631913Z"}]},"request_id":"d3fbfaab-760a-4b7d-bab7-1a01598b900b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836345.153937} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a3fc1b80-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb","object_type":"device","rebac_allow":false,"scope_allow":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":"a3fc1b80-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"c2774263edc548d118f49f5b830fea98","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a3fc1b80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/4136191e-845b-4b23-b840-49476761d2cb/signaling 200 22ms","method":"POST","requestID":"a3fc1b80-651d-11ef-83ce-bd5a3df00b5c","responseTime":22,"status":200,"url":"/devices/4136191e-845b-4b23-b840-49476761d2cb/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"c2774263edc548d118f49f5b830fea98"} gateway-1 | {"time_local":"28/Aug/2024:09:12:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.039","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c2774263edc548d118f49f5b830fea98"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2"},"level":"info","message":"Building connection plan","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} 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":"5090b731-3dcd-4ca3-800b-f6f832844ec9"},{"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":"68b41971-61b4-4b15-b7ad-fdfe54a4fe1a"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"80f2cba3-ff42-4df3-8218-961f04459ae7"}]},"level":"info","message":"Built pairwise service configurations","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} device-1 | {"level":"info","message":"GET /devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b? 200 33ms","method":"GET","requestID":"c2774263edc548d118f49f5b830fea98","responseTime":33,"status":200,"url":"/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b?"} 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/663e3c1c-6048-45cf-b6fd-e9cfebbd075b"},{"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/4136191e-845b-4b23-b840-49476761d2cb"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"a4001320-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0NX0.hD8R-yJpJvQ7rNN9TA99OePORmIhvzGmAtkpyzj-T24","level":"info","message":"auth send jwt","requestID":"71fe3223038e17d0660b0793294f5eb4"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":726,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":726,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.910882,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:25Z"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"71fe3223038e17d0660b0793294f5eb4","responseTime":5,"status":200,"url":"/auth"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a4001320-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836344,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0NH0.nfqvwHcDjJf7_txsQi8YDSzimye6ndzu9N4eipUWjak"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"71fe3223038e17d0660b0793294f5eb4"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a4001320-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":727,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":727,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.281619,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"71fe3223038e17d0660b0793294f5eb4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836345,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0NX0.hD8R-yJpJvQ7rNN9TA99OePORmIhvzGmAtkpyzj-T24"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"71fe3223038e17d0660b0793294f5eb4","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4136191e-845b-4b23-b840-49476761d2cb","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4136191e-845b-4b23-b840-49476761d2cb","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:22.882171676Z"}]},"request_id":"193f4ba7-0841-4cc1-8b95-47cac31317d4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836345.1883976} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"71fe3223038e17d0660b0793294f5eb4","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"da15d776-4917-4939-acbd-41107ff70b8d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836345.198473} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"bcc650fd-651b-408c-b523-d6857fa11d32","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836345.199432} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"a4001320-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"71fe3223038e17d0660b0793294f5eb4"} gateway-1 | {"time_local":"28/Aug/2024:09:12:25 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/4136191e-845b-4b23-b840-49476761d2cb? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.039","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"71fe3223038e17d0660b0793294f5eb4"} device-1 | {"level":"info","message":"GET /devices/4136191e-845b-4b23-b840-49476761d2cb? 200 33ms","method":"GET","requestID":"71fe3223038e17d0660b0793294f5eb4","responseTime":33,"status":200,"url":"/devices/4136191e-845b-4b23-b840-49476761d2cb?"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"a4001320-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"a4001320-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/9411412e-e246-495c-8df4-dcdb91f13fdc'","requestID":"a4001320-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/9411412e-e246-495c-8df4-dcdb91f13fdc'","requestID":"a4001320-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"a4001320-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 65ms","method":"POST","requestID":"a4001320-651d-11ef-83ce-bd5a3df00b5c","responseTime":65,"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":"a4001320-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/9411412e-e246-495c-8df4-dcdb91f13fdc","device":"4136191e-845b-4b23-b840-49476761d2cb","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/09eb4183-c29e-45ed-ae17-841f8dc48ca2"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"d370c97ff1d536dbeffec9dd3c399ea4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a4110310-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":728,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"cf41257f-4499-445e-984d-a9ac31e18dc4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836345.2887511} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":728,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":5.123819,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a4110310-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","object_type":"device","rebac_allow":false,"scope_allow":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":"a4110310-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a4110310-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b/signaling 200 15ms","method":"POST","requestID":"a4110310-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a4143760-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":729,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":729,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.229722,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:25Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4136191e-845b-4b23-b840-49476761d2cb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"15b6b0be-8c6c-4928-93c4-7b3ea2ae3bd3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836345.307466} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a4143760-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb","object_type":"device","rebac_allow":false,"scope_allow":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":"a4143760-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"device":"4136191e-845b-4b23-b840-49476761d2cb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"4136191e-845b-4b23-b840-49476761d2cb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a4143760-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/4136191e-845b-4b23-b840-49476761d2cb/signaling 200 14ms","method":"POST","requestID":"a4143760-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/devices/4136191e-845b-4b23-b840-49476761d2cb/signaling"} device-1 | {"content":{"sdp":"v=0\r\no=- 4236451693098778717 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:JqnZ\r\na=ice-pwd:Xehz92/D0lF0mETDH4NUyoQy\r\na=ice-options:trickle\r\na=fingerprint:sha-256 5B:1A:A7:25:7F:19:84:5D:16:4C:54:0E:F3:BE:8A:33:28:07:C0:C9:39:4A:51:BC:03:E3:A5:59:66:27:49:2E\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"4136191e-845b-4b23-b840-49476761d2cb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"device":"4136191e-845b-4b23-b840-49476761d2cb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"663e3c1c-6048-45cf-b6fd-e9cfebbd075b","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":"9411412e-e246-495c-8df4-dcdb91f13fdc","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"663e3c1c-6048-45cf-b6fd-e9cfebbd075b","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":"663e3c1c-6048-45cf-b6fd-e9cfebbd075b","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":"663e3c1c-6048-45cf-b6fd-e9cfebbd075b","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":"663e3c1c-6048-45cf-b6fd-e9cfebbd075b","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/9411412e-e246-495c-8df4-dcdb91f13fdc' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"9411412e-e246-495c-8df4-dcdb91f13fdc","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"b23026cade7c36e97da3b0effaeb1081","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"b23026cade7c36e97da3b0effaeb1081","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/663e3c1c-6048-45cf-b6fd-e9cfebbd075b"},{"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/4136191e-845b-4b23-b840-49476761d2cb"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/9411412e-e246-495c-8df4-dcdb91f13fdc"}}},"level":"info","message":"received a callback","requestID":"b23026cade7c36e97da3b0effaeb1081"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 12ms","method":"POST","requestID":"b23026cade7c36e97da3b0effaeb1081","responseTime":12,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch","requestID":"b23026cade7c36e97da3b0effaeb1081"} device-1 | {"content":{"candidate":"candidate:4049797891 1 udp 2113937151 e13db4c8-c25f-4705-840e-6cf6ced7f67d.local 45253 typ host generation 0 ufrag JqnZ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"4136191e-845b-4b23-b840-49476761d2cb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:4181412036 1 udp 1677729535 141.24.211.56 45253 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag JqnZ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"4136191e-845b-4b23-b840-49476761d2cb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1192751926 1 udp 33562623 141.24.210.113 61045 typ relay raddr 141.24.211.56 rport 45253 generation 0 ufrag JqnZ network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"4136191e-845b-4b23-b840-49476761d2cb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"device":"4136191e-845b-4b23-b840-49476761d2cb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"663e3c1c-6048-45cf-b6fd-e9cfebbd075b","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":"4136191e-845b-4b23-b840-49476761d2cb","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} device-1 | {"device":"663e3c1c-6048-45cf-b6fd-e9cfebbd075b","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":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb'"} device-1 | {"data":{"peerconnection":"9411412e-e246-495c-8df4-dcdb91f13fdc","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb'"} device-1 | {"data":{"peerconnection":"9411412e-e246-495c-8df4-dcdb91f13fdc","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/9411412e-e246-495c-8df4-dcdb91f13fdc' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"9411412e-e246-495c-8df4-dcdb91f13fdc","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"88f47e1a52adcd075e4667afff818815","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"88f47e1a52adcd075e4667afff818815","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/663e3c1c-6048-45cf-b6fd-e9cfebbd075b"},{"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/4136191e-845b-4b23-b840-49476761d2cb"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/9411412e-e246-495c-8df4-dcdb91f13fdc"}}},"level":"info","message":"received a callback","requestID":"88f47e1a52adcd075e4667afff818815"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"a554f4c0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":730,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:27Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F9411412e-e246-495c-8df4-dcdb91f13fdc","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a490dfad-7ae1-4ec9-9dca-796107d0123f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836347.4130306} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":730,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":7.007673,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/9411412e-e246-495c-8df4-dcdb91f13fdc","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a554f4c0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/9411412e-e246-495c-8df4-dcdb91f13fdc","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 10ms","method":"POST","requestID":"a554f4c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"a554f4c0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/9411412e-e246-495c-8df4-dcdb91f13fdc 200 15ms","method":"GET","requestID":"a554f4c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/peerconnections/9411412e-e246-495c-8df4-dcdb91f13fdc"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 45ms","method":"POST","requestID":"88f47e1a52adcd075e4667afff818815","responseTime":45,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.049","http_referrer":"","http_user_agent":"node-fetch","requestID":"88f47e1a52adcd075e4667afff818815"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a55ae830-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":731,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:27Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3cf07124-987b-493b-951c-365084c6e526","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836347.4489992} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":731,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.259367,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a55ae830-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","object_type":"device","rebac_allow":false,"scope_allow":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":"a55ae830-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0N30.-wDmMa3TWONI64UXZJSe40Q2CoTB75mIoNYWcmnh_Mo","level":"info","message":"auth send jwt","requestID":"1553e7d806799ae7a1ba2c703a794ddf"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1553e7d806799ae7a1ba2c703a794ddf","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2","requestID":"1553e7d806799ae7a1ba2c703a794ddf"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a55ae830-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b/signaling 200 18ms","method":"POST","requestID":"a55ae830-651d-11ef-83ce-bd5a3df00b5c","responseTime":18,"status":200,"url":"/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b/signaling"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":732,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:27Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":732,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.849139,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:27Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"1553e7d806799ae7a1ba2c703a794ddf","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836347,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0N30.-wDmMa3TWONI64UXZJSe40Q2CoTB75mIoNYWcmnh_Mo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"1553e7d806799ae7a1ba2c703a794ddf","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a55e4390-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":733,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:27Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":733,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.785221,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:27Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4136191e-845b-4b23-b840-49476761d2cb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e64644dc-46a4-4560-9851-22ab792769ff","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836347.4698594} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a55e4390-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a55e4390-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2","requestID":"1553e7d806799ae7a1ba2c703a794ddf"} experiment-1 | {"level":"info","message":"GET /experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2 200 31ms","method":"GET","requestID":"1553e7d806799ae7a1ba2c703a794ddf","responseTime":31,"status":200,"url":"/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2"} gateway-1 | {"time_local":"28/Aug/2024:09:12:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2 HTTP/1.1","status": "200","body_bytes_sent":"1288","request_time":"0.036","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1553e7d806799ae7a1ba2c703a794ddf"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a55e4390-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/4136191e-845b-4b23-b840-49476761d2cb/signaling 200 30ms","method":"POST","requestID":"a55e4390-651d-11ef-83ce-bd5a3df00b5c","responseTime":30,"status":200,"url":"/devices/4136191e-845b-4b23-b840-49476761d2cb/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0N30.-wDmMa3TWONI64UXZJSe40Q2CoTB75mIoNYWcmnh_Mo","level":"info","message":"auth send jwt","requestID":"65bbf530e8383c96b33f3ee119944471"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"65bbf530e8383c96b33f3ee119944471","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2","requestID":"65bbf530e8383c96b33f3ee119944471"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":734,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:27Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":734,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.815619,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:27Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"65bbf530e8383c96b33f3ee119944471","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836347,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0N30.-wDmMa3TWONI64UXZJSe40Q2CoTB75mIoNYWcmnh_Mo"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"65bbf530e8383c96b33f3ee119944471","responseTime":6,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2"},"level":"info","message":"Attempting to finish experiment","requestID":"65bbf530e8383c96b33f3ee119944471"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"a5652160-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":735,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:27Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":735,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.832532,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:27Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/9411412e-e246-495c-8df4-dcdb91f13fdc","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a5652160-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/9411412e-e246-495c-8df4-dcdb91f13fdc","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836347,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0N30.-wDmMa3TWONI64UXZJSe40Q2CoTB75mIoNYWcmnh_Mo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"a5652160-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"device":"663e3c1c-6048-45cf-b6fd-e9cfebbd075b","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":"663e3c1c-6048-45cf-b6fd-e9cfebbd075b","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":"663e3c1c-6048-45cf-b6fd-e9cfebbd075b","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 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/9411412e-e246-495c-8df4-dcdb91f13fdc","device":"4136191e-845b-4b23-b840-49476761d2cb","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/9411412e-e246-495c-8df4-dcdb91f13fdc' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/9411412e-e246-495c-8df4-dcdb91f13fdc' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"9411412e-e246-495c-8df4-dcdb91f13fdc","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"29e94dab324e9e0ed9e031d95c5985d7","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"3fba32e0-5509-4555-876f-b98fb1fa823c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836347.5456278} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F9411412e-e246-495c-8df4-dcdb91f13fdc': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F9411412e-e246-495c-8df4-dcdb91f13fdc","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"b1f05d66-8dde-4170-b5c7-522122671498","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836347.546725} 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/663e3c1c-6048-45cf-b6fd-e9cfebbd075b"},{"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/4136191e-845b-4b23-b840-49476761d2cb"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/9411412e-e246-495c-8df4-dcdb91f13fdc"}}},"level":"info","message":"received a callback","requestID":"29e94dab324e9e0ed9e031d95c5985d7"} authentication-1 | {"level":"info","message":"GET /auth 200 8ms","method":"GET","requestID":"29e94dab324e9e0ed9e031d95c5985d7","responseTime":8,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 29ms","method":"POST","requestID":"a5652160-651d-11ef-83ce-bd5a3df00b5c","responseTime":29,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fbaf1d9309d1546c5dd53a29b4762c35","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-closed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[{"busId":"gpio1","direction":"out","interfaceId":1,"interfaceType":"gpio","signals":{"gpio":"gpio1"}},{"busId":"gpio2","direction":"out","interfaceId":2,"interfaceType":"gpio","signals":{"gpio":"gpio2"}}],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b"},{"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/4136191e-845b-4b23-b840-49476761d2cb"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/9411412e-e246-495c-8df4-dcdb91f13fdc"}}},"level":"info","message":"received a callback","requestID":"fbaf1d9309d1546c5dd53a29b4762c35"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"fbaf1d9309d1546c5dd53a29b4762c35","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"a5652160-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/9411412e-e246-495c-8df4-dcdb91f13fdc 204 89ms","method":"DELETE","requestID":"a5652160-651d-11ef-83ce-bd5a3df00b5c","responseTime":89,"status":204,"url":"/peerconnections/9411412e-e246-495c-8df4-dcdb91f13fdc"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2"},"level":"info","message":"Successfully finished experiment","requestID":"65bbf530e8383c96b33f3ee119944471"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a5763860-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":736,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:27Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F663e3c1c-6048-45cf-b6fd-e9cfebbd075b","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fc61b221-4f97-4704-8595-ba0237d0fb77","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836347.6271086} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":736,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.951074,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a5763860-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a5763860-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a5763860-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b/signaling 200 9ms","method":"POST","requestID":"a5763860-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a5780d20-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":737,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:27Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9a911b39-66c1-44b5-9a98-2502cdbf024a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836347.6379957} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F09eb4183-c29e-45ed-ae17-841f8dc48ca2': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F09eb4183-c29e-45ed-ae17-841f8dc48ca2","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"43424dfb-8372-4090-8d8f-c206312da70c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836347.6381786} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F4136191e-845b-4b23-b840-49476761d2cb","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"fb5c898a-db00-4b02-bc06-784a24724f72","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836347.6389468} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"65bbf530e8383c96b33f3ee119944471","responseTime":20,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":737,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.57158,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:27Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a5780d20-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a5780d20-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a5780d20-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/4136191e-845b-4b23-b840-49476761d2cb/signaling 200 10ms","method":"POST","requestID":"a5780d20-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/4136191e-845b-4b23-b840-49476761d2cb/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2","requestID":"65bbf530e8383c96b33f3ee119944471"} gateway-1 | {"time_local":"28/Aug/2024:09:12:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.265","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"65bbf530e8383c96b33f3ee119944471"} gateway-1 | {"time_local":"28/Aug/2024:09:12:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"3194","request_time":"4.252","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"72ad2c6c6530985335a19fe52a52eb37"} experiment-1 | {"level":"info","message":"DELETE /experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2 204 260ms","method":"DELETE","requestID":"65bbf530e8383c96b33f3ee119944471","responseTime":260,"status":204,"url":"/experiments/09eb4183-c29e-45ed-ae17-841f8dc48ca2"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 202ms","method":"POST","requestID":"29e94dab324e9e0ed9e031d95c5985d7","responseTime":202,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.213","http_referrer":"","http_user_agent":"node-fetch","requestID":"29e94dab324e9e0ed9e031d95c5985d7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0N30.-wDmMa3TWONI64UXZJSe40Q2CoTB75mIoNYWcmnh_Mo","level":"info","message":"auth send jwt","requestID":"d70f48e59941f40d2f0a1d123466f7c7"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d70f48e59941f40d2f0a1d123466f7c7","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"d70f48e59941f40d2f0a1d123466f7c7"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":738,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:27Z"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 205ms","method":"POST","requestID":"fbaf1d9309d1546c5dd53a29b4762c35","responseTime":205,"status":200,"url":"/callbacks/experiment"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":738,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.968102,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:27Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"d70f48e59941f40d2f0a1d123466f7c7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836347,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0N30.-wDmMa3TWONI64UXZJSe40Q2CoTB75mIoNYWcmnh_Mo"} gateway-1 | {"time_local":"28/Aug/2024:09:12:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.225","http_referrer":"","http_user_agent":"node-fetch","requestID":"fbaf1d9309d1546c5dd53a29b4762c35"} gateway-1 | {"time_local":"28/Aug/2024:09:12:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2702","request_time":"2.938","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"229cc33df028027622c0fcb58c77908c"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/663e3c1c-6048-45cf-b6fd-e9cfebbd075b' closed"} authorization-1 | {"level":"info","message":"POST /authorize 200 15ms","method":"POST","requestID":"d70f48e59941f40d2f0a1d123466f7c7","responseTime":16,"status":200,"url":"/authorize"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/4136191e-845b-4b23-b840-49476761d2cb' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"574c1a96-656f-44cc-84b4-8dc38789659f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836347.808061} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d70f48e59941f40d2f0a1d123466f7c7","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9f5b106a-402a-4f39-944a-6759f024cb32","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836347.813235} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"d70f48e59941f40d2f0a1d123466f7c7","responseTime":3,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"c26aa75a-5bed-4344-a331-5e1d93fc2f80","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836347.8238773} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"7d732b80-c7c1-48fb-ac80-2b6d701bd980","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836347.8241956} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"d70f48e59941f40d2f0a1d123466f7c7","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:27.823851699Z"}]},"request_id":"821dc59a-4b4f-4d2b-931f-372f6fb48026","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836347.8294396} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d70f48e59941f40d2f0a1d123466f7c7","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d70f48e59941f40d2f0a1d123466f7c7"} device-1 | {"level":"info","message":"POST /devices? 201 67ms","method":"POST","requestID":"d70f48e59941f40d2f0a1d123466f7c7","responseTime":67,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"28/Aug/2024:09:12:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.073","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d70f48e59941f40d2f0a1d123466f7c7"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0N30.-wDmMa3TWONI64UXZJSe40Q2CoTB75mIoNYWcmnh_Mo","level":"info","message":"auth send jwt","requestID":"064385d52bfd01a4dc91e972cb0afd2d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"064385d52bfd01a4dc91e972cb0afd2d","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"064385d52bfd01a4dc91e972cb0afd2d"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":739,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:27Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":739,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.845012,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:27Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"064385d52bfd01a4dc91e972cb0afd2d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836347,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0N30.-wDmMa3TWONI64UXZJSe40Q2CoTB75mIoNYWcmnh_Mo"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"064385d52bfd01a4dc91e972cb0afd2d","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"f4486a4e-464b-45af-873b-24005c53592d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836347.863427} authorization-1 | {"level":"info","message":"POST /relations/query 200 7ms","method":"POST","requestID":"064385d52bfd01a4dc91e972cb0afd2d","responseTime":7,"status":200,"url":"/relations/query"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"28ea8a2f-eedb-4603-b266-adb615c23bc5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836347.8733835} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"064385d52bfd01a4dc91e972cb0afd2d","responseTime":7,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"e0ac57b1-e278-4798-9330-eeba31ccec10","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836347.888439} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"2c9df3ce-3043-4e24-8467-65e1cf171c83","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836347.8886592} authorization-1 | {"level":"info","message":"POST /relations/update 200 16ms","method":"POST","requestID":"064385d52bfd01a4dc91e972cb0afd2d","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:27.888405480Z"}]},"request_id":"c42a44d8-b40c-41c8-bbe7-2a3076c1ebc1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836347.8925626} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"064385d52bfd01a4dc91e972cb0afd2d","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"064385d52bfd01a4dc91e972cb0afd2d"} gateway-1 | {"time_local":"28/Aug/2024:09:12:27 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.061","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"064385d52bfd01a4dc91e972cb0afd2d"} device-1 | {"level":"info","message":"POST /devices? 201 57ms","method":"POST","requestID":"064385d52bfd01a4dc91e972cb0afd2d","responseTime":57,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ","level":"info","message":"auth send jwt","requestID":"b6076a5d2e026081c2a3c40b8a76f2ef"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"b6076a5d2e026081c2a3c40b8a76f2ef","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"b6076a5d2e026081c2a3c40b8a76f2ef"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":740,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":740,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.651862,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b6076a5d2e026081c2a3c40b8a76f2ef","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836348,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b6076a5d2e026081c2a3c40b8a76f2ef","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:27.823851699Z"}]},"request_id":"40e86c97-602e-4849-9362-58594fe24777","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.4505365} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b6076a5d2e026081c2a3c40b8a76f2ef","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9f4bebff-10fd-47cc-9094-9883c354b0c9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.4552453} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"b6076a5d2e026081c2a3c40b8a76f2ef","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:27.823851699Z"}]},"request_id":"3b8cbf06-c76a-4a01-881a-50d4379fa239","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.4706342} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"b6076a5d2e026081c2a3c40b8a76f2ef","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"b6076a5d2e026081c2a3c40b8a76f2ef"} gateway-1 | {"time_local":"28/Aug/2024:09:12:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/96017d3a-7af2-40d5-a7e9-6e8053670054 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":"b6076a5d2e026081c2a3c40b8a76f2ef"} device-1 | {"level":"info","message":"PATCH /devices/96017d3a-7af2-40d5-a7e9-6e8053670054 200 31ms","method":"PATCH","requestID":"b6076a5d2e026081c2a3c40b8a76f2ef","responseTime":31,"status":200,"url":"/devices/96017d3a-7af2-40d5-a7e9-6e8053670054"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ","level":"info","message":"auth send jwt","requestID":"c18b0be6ae12ef4f712436e2db7ccb44"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c18b0be6ae12ef4f712436e2db7ccb44","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"c18b0be6ae12ef4f712436e2db7ccb44"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":741,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":741,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.631433,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"c18b0be6ae12ef4f712436e2db7ccb44","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836348,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c18b0be6ae12ef4f712436e2db7ccb44","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ","level":"info","message":"auth send jwt","requestID":"e639ec5cad9e3d75765b71a3b043e1ef"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e639ec5cad9e3d75765b71a3b043e1ef","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"e639ec5cad9e3d75765b71a3b043e1ef"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":742,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":742,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.735357,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"e639ec5cad9e3d75765b71a3b043e1ef","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836348,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"e639ec5cad9e3d75765b71a3b043e1ef","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"c18b0be6ae12ef4f712436e2db7ccb44"} gateway-1 | {"time_local":"28/Aug/2024:09:12:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/96017d3a-7af2-40d5-a7e9-6e8053670054/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":"c18b0be6ae12ef4f712436e2db7ccb44"} device-1 | {"level":"info","message":"POST /devices/96017d3a-7af2-40d5-a7e9-6e8053670054/websocket 200 25ms","method":"POST","requestID":"c18b0be6ae12ef4f712436e2db7ccb44","responseTime":25,"status":200,"url":"/devices/96017d3a-7af2-40d5-a7e9-6e8053670054/websocket"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:27.888405480Z"}]},"request_id":"bad3e642-bf85-45fa-87a5-ccae0b67f6b1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.5059042} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e639ec5cad9e3d75765b71a3b043e1ef","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ca48ff88-fb1f-4551-9a4e-ed0b7d628360","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.5104287} device-1 | {"level":"info","message":"device 'http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054' connected"} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"e639ec5cad9e3d75765b71a3b043e1ef","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:27.888405480Z"}]},"request_id":"782bc5c5-a7e9-464a-be1f-2efaac8707cf","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.521946} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e639ec5cad9e3d75765b71a3b043e1ef","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"e639ec5cad9e3d75765b71a3b043e1ef"} gateway-1 | {"time_local":"28/Aug/2024:09:12:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.042","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"e639ec5cad9e3d75765b71a3b043e1ef"} device-1 | {"level":"info","message":"PATCH /devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2 200 37ms","method":"PATCH","requestID":"e639ec5cad9e3d75765b71a3b043e1ef","responseTime":37,"status":200,"url":"/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ","level":"info","message":"auth send jwt","requestID":"ffe4e876a54afbdd53eab414df922c96"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"ffe4e876a54afbdd53eab414df922c96","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"ffe4e876a54afbdd53eab414df922c96"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":743,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":743,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.706324,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ffe4e876a54afbdd53eab414df922c96","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836348,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ffe4e876a54afbdd53eab414df922c96","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"ffe4e876a54afbdd53eab414df922c96"} gateway-1 | {"time_local":"28/Aug/2024:09:12:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.017","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"ffe4e876a54afbdd53eab414df922c96"} device-1 | {"level":"info","message":"POST /devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2/websocket 200 14ms","method":"POST","requestID":"ffe4e876a54afbdd53eab414df922c96","responseTime":14,"status":200,"url":"/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ","level":"info","message":"auth send jwt","requestID":"e0a5a8e71e906ea2b769b74453b6df53"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"e0a5a8e71e906ea2b769b74453b6df53","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"e0a5a8e71e906ea2b769b74453b6df53"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":744,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":744,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.949023,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"e0a5a8e71e906ea2b769b74453b6df53","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836348,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"e0a5a8e71e906ea2b769b74453b6df53","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:27.823851699Z"}]},"request_id":"ec99584b-3ff2-4eb8-8a75-b5e515340f46","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.57198} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"e0a5a8e71e906ea2b769b74453b6df53","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"e0a5a8e71e906ea2b769b74453b6df53"} gateway-1 | {"time_local":"28/Aug/2024:09:12:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/96017d3a-7af2-40d5-a7e9-6e8053670054? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"e0a5a8e71e906ea2b769b74453b6df53"} device-1 | {"level":"info","message":"GET /devices/96017d3a-7af2-40d5-a7e9-6e8053670054? 200 9ms","method":"GET","requestID":"e0a5a8e71e906ea2b769b74453b6df53","responseTime":9,"status":200,"url":"/devices/96017d3a-7af2-40d5-a7e9-6e8053670054?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ","level":"info","message":"auth send jwt","requestID":"dc04456c2da51373e85a44520bd6f3eb"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"dc04456c2da51373e85a44520bd6f3eb","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"dc04456c2da51373e85a44520bd6f3eb"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":745,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":745,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.722426,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"dc04456c2da51373e85a44520bd6f3eb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836348,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"dc04456c2da51373e85a44520bd6f3eb","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:27.888405480Z"}]},"request_id":"a904f7be-79fe-4366-8e38-7294aa8645da","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.5859277} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"dc04456c2da51373e85a44520bd6f3eb","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"dc04456c2da51373e85a44520bd6f3eb"} gateway-1 | {"time_local":"28/Aug/2024:09:12:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"dc04456c2da51373e85a44520bd6f3eb"} device-1 | {"level":"info","message":"GET /devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2? 200 9ms","method":"GET","requestID":"dc04456c2da51373e85a44520bd6f3eb","responseTime":9,"status":200,"url":"/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ","level":"info","message":"auth send jwt","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":746,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":746,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.783311,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"93c5a7027b0a75a9255f9fbc8a075ee9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836348,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"},"level":"info","message":"Attempting to run experiment","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"},"level":"info","message":"Attempting to book experiment","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"},"level":"info","message":"Successfully booked experiment","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a60f4410-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a60f9230-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":747,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":747,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.673023,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":748,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a60f4410-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836348,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"a60f4410-651d-11ef-83ce-bd5a3df00b5c","responseTime":2,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":748,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.653039,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a60f9230-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836348,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"a60f9230-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:27.823851699Z"}]},"request_id":"206e2cea-165f-4276-84a2-9ff1b9ea6885","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.6326675} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a60f4410-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:27.888405480Z"}]},"request_id":"48601751-beab-425d-9861-ddcbaaf2d2b3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.6334832} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a60f9230-651d-11ef-83ce-bd5a3df00b5c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a60f4410-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/96017d3a-7af2-40d5-a7e9-6e8053670054? 200 13ms","method":"GET","requestID":"a60f4410-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/96017d3a-7af2-40d5-a7e9-6e8053670054?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a60f9230-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2? 200 12ms","method":"GET","requestID":"a60f9230-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"},"level":"info","message":"Setting up experiment","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"},"level":"info","message":"Successfully locked booking for experiment","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"},"level":"info","message":"Attempting to update booking for experiment","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"},"level":"info","message":"Successfully updated booking for experiment","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"},"level":"info","message":"Successfully set up experiment","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a6181db0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a61844c0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a6186bd0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Received request.","req_id":749,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"client_addr":"127.0.0.1:57698","level":"info","msg":"Sent response.","req_id":749,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.882589,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":750,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a6181db0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836348,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a6181db0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"},"level":"info","message":"Successfully running experiment","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":750,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.821305,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a61844c0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836348,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a61844c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:50488","level":"info","msg":"Received request.","req_id":751,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:27.888405480Z"}]},"request_id":"e869e812-bbc8-4be8-94d6-5ecdaede73af","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.6950538} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a5ec9603-02ff-47df-b491-64349908910e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.6952698} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a61844c0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:27.823851699Z"}]},"request_id":"bf08da91-1f82-4c3f-8e22-27801678e2ce","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.696346} authorization-1 | {"client_addr":"127.0.0.1:50488","level":"info","msg":"Sent response.","req_id":751,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.757421,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a6186bd0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","object_type":"device","rebac_allow":false,"scope_allow":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":"a6186bd0-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a61844c0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2? 200 17ms","method":"GET","requestID":"a61844c0-651d-11ef-83ce-bd5a3df00b5c","responseTime":17,"status":200,"url":"/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2?"} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"a6181db0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/relations/query"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff1be3ea8-5771-4691-b224-f81f4a06f9e9#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff1be3ea8-5771-4691-b224-f81f4a06f9e9","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"b12bcdfb-fbe8-4dc9-b0e6-f11a8589f446","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.70375} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"d6a64ab3-0838-4c28-b113-ff736f7360b2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.7040062} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a6186bd0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/96017d3a-7af2-40d5-a7e9-6e8053670054/signaling 200 21ms","method":"POST","requestID":"a6186bd0-651d-11ef-83ce-bd5a3df00b5c","responseTime":21,"status":200,"url":"/devices/96017d3a-7af2-40d5-a7e9-6e8053670054/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a6181db0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9","responseTime":15,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"GET /devices/96017d3a-7af2-40d5-a7e9-6e8053670054? 200 24ms","method":"GET","requestID":"a6181db0-651d-11ef-83ce-bd5a3df00b5c","responseTime":24,"status":200,"url":"/devices/96017d3a-7af2-40d5-a7e9-6e8053670054?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a61bee40-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50488","level":"info","msg":"Received request.","req_id":752,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:28Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a61cb190-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7cd6f183-86a6-404d-877c-5ccd117d3ef5","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.7132044} authorization-1 | {"client_addr":"127.0.0.1:50488","level":"info","msg":"Sent response.","req_id":752,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.212175,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a61bee40-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","object_type":"device","rebac_allow":false,"scope_allow":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":"a61bee40-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} authorization-1 | {"client_addr":"127.0.0.1:50488","level":"info","msg":"Received request.","req_id":753,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:28Z"} gateway-1 | {"time_local":"28/Aug/2024:09:12:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1219","request_time":"0.130","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} experiment-1 | {"level":"info","message":"POST /experiments? 201 126ms","method":"POST","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9","responseTime":126,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a61bee40-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2/signaling 200 11ms","method":"POST","requestID":"a61bee40-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ae4e33a3-e580-4a42-b564-c506cce50aba","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.7203982} authorization-1 | {"client_addr":"127.0.0.1:50488","level":"info","msg":"Sent response.","req_id":753,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.056351,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a61cb190-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a61cb190-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ","level":"info","message":"auth send jwt","requestID":"82c96ba9e8d4cbedbd214bbda085dc04"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"82c96ba9e8d4cbedbd214bbda085dc04","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a61cb190-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/96017d3a-7af2-40d5-a7e9-6e8053670054/signaling 200 12ms","method":"POST","requestID":"a61cb190-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/96017d3a-7af2-40d5-a7e9-6e8053670054/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"82c96ba9e8d4cbedbd214bbda085dc04"} authorization-1 | {"client_addr":"127.0.0.1:50488","level":"info","msg":"Received request.","req_id":754,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:28Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a61efb80-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50488","level":"info","msg":"Sent response.","req_id":754,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.891952,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"82c96ba9e8d4cbedbd214bbda085dc04","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836348,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"82c96ba9e8d4cbedbd214bbda085dc04","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":755,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3b3b680f-8026-447b-a86c-6075d0fe53af","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.7327993} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":755,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.882044,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a61efb80-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a61efb80-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:27.823851699Z"}]},"request_id":"d4c743d0-dc03-4c17-9c23-5f70389d7c19","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.734893} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"82c96ba9e8d4cbedbd214bbda085dc04","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a61efb80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2/signaling 200 11ms","method":"POST","requestID":"a61efb80-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"82c96ba9e8d4cbedbd214bbda085dc04"} gateway-1 | {"time_local":"28/Aug/2024:09:12:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/96017d3a-7af2-40d5-a7e9-6e8053670054? 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":"82c96ba9e8d4cbedbd214bbda085dc04"} device-1 | {"level":"info","message":"GET /devices/96017d3a-7af2-40d5-a7e9-6e8053670054? 200 14ms","method":"GET","requestID":"82c96ba9e8d4cbedbd214bbda085dc04","responseTime":14,"status":200,"url":"/devices/96017d3a-7af2-40d5-a7e9-6e8053670054?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"},"level":"info","message":"Building connection plan","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} 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":"51c24d12-c72b-4adc-9ded-661ab53b3d81"},{"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":"86c0c38a-7c34-4766-ab77-d81e422387a8"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"b55bd65d-aa0e-4fc2-8fd6-8a365b2acc28"}]},"level":"info","message":"Built pairwise service configurations","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} 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/801295c7-64bf-4406-aaf7-b1dd469fa2b2"},{"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/96017d3a-7af2-40d5-a7e9-6e8053670054"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"a6211e60-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ","level":"info","message":"auth send jwt","requestID":"63261ecd7c198f1a5fadac87c2a15dae"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"63261ecd7c198f1a5fadac87c2a15dae","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":756,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":756,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.87565,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:28Z"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"63261ecd7c198f1a5fadac87c2a15dae"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a6211e60-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836348,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a6211e60-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":757,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":757,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.458828,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"63261ecd7c198f1a5fadac87c2a15dae","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836348,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM0OH0.Wh2WqpWViI_NdDomkCTC65WF6KsCMnki3ghVOYkq3GQ"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"63261ecd7c198f1a5fadac87c2a15dae","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"0b19a9ec-56a9-41b9-af42-a23cbe7b9dbd","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.754168} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a3b66def-1d7d-4367-a5f9-a8ed5661e1ff","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.7545576} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:27.888405480Z"}]},"request_id":"3467b13f-90f5-4858-933e-f959843e55f3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.7549427} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"63261ecd7c198f1a5fadac87c2a15dae","responseTime":3,"status":200,"url":"/relations/query"} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"a6211e60-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"63261ecd7c198f1a5fadac87c2a15dae"} device-1 | {"level":"info","message":"GET /devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2? 200 15ms","method":"GET","requestID":"63261ecd7c198f1a5fadac87c2a15dae","responseTime":15,"status":200,"url":"/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2?"} gateway-1 | {"time_local":"28/Aug/2024:09:12:28 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2? 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":"63261ecd7c198f1a5fadac87c2a15dae"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"a6211e60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"a6211e60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/b6ffbe1d-c3a9-4059-97b0-866650f8e4c0'","requestID":"a6211e60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/b6ffbe1d-c3a9-4059-97b0-866650f8e4c0'","requestID":"a6211e60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"a6211e60-651d-11ef-83ce-bd5a3df00b5c"} 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":"a6211e60-651d-11ef-83ce-bd5a3df00b5c","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":"a6211e60-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"93c5a7027b0a75a9255f9fbc8a075ee9"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a629a9e0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":758,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9f910987-6e43-4b59-9a18-6e184f63fd4f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.803068} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":758,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.20015,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a629a9e0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","object_type":"device","rebac_allow":false,"scope_allow":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":"a629a9e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a629a9e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/96017d3a-7af2-40d5-a7e9-6e8053670054/signaling 200 8ms","method":"POST","requestID":"a629a9e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/96017d3a-7af2-40d5-a7e9-6e8053670054/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a62b3080-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":759,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"eb5aa3b8-4e66-4a4c-96e3-98a05202e243","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836348.8120074} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":759,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.140701,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:28Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a62b3080-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","object_type":"device","rebac_allow":false,"scope_allow":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":"a62b3080-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a62b3080-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2/signaling 200 7ms","method":"POST","requestID":"a62b3080-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2/signaling"} device-1 | {"device":"96017d3a-7af2-40d5-a7e9-6e8053670054","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":"b6ffbe1d-c3a9-4059-97b0-866650f8e4c0","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"801295c7-64bf-4406-aaf7-b1dd469fa2b2","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":"b6ffbe1d-c3a9-4059-97b0-866650f8e4c0","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"801295c7-64bf-4406-aaf7-b1dd469fa2b2","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":"801295c7-64bf-4406-aaf7-b1dd469fa2b2","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":"801295c7-64bf-4406-aaf7-b1dd469fa2b2","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":"801295c7-64bf-4406-aaf7-b1dd469fa2b2","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/b6ffbe1d-c3a9-4059-97b0-866650f8e4c0' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b6ffbe1d-c3a9-4059-97b0-866650f8e4c0","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ff2b63329875ad160eb3e1f5a3a64ef1","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ff2b63329875ad160eb3e1f5a3a64ef1","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/801295c7-64bf-4406-aaf7-b1dd469fa2b2"},{"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/96017d3a-7af2-40d5-a7e9-6e8053670054"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/b6ffbe1d-c3a9-4059-97b0-866650f8e4c0"}}},"level":"info","message":"received a callback","requestID":"ff2b63329875ad160eb3e1f5a3a64ef1"} device-1 | {"device":"96017d3a-7af2-40d5-a7e9-6e8053670054","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":"96017d3a-7af2-40d5-a7e9-6e8053670054","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 5ms","method":"POST","requestID":"ff2b63329875ad160eb3e1f5a3a64ef1","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.008","http_referrer":"","http_user_agent":"node-fetch","requestID":"ff2b63329875ad160eb3e1f5a3a64ef1"} device-1 | {"device":"96017d3a-7af2-40d5-a7e9-6e8053670054","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":"801295c7-64bf-4406-aaf7-b1dd469fa2b2","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":"96017d3a-7af2-40d5-a7e9-6e8053670054","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":"801295c7-64bf-4406-aaf7-b1dd469fa2b2","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":"96017d3a-7af2-40d5-a7e9-6e8053670054","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.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1MH0.po--_xdw1PkW-4kbyXt8OpknDe3xbkxnzsJURQYsM9U","level":"info","message":"auth send jwt","requestID":"417b2ff585b26950ed2f5be6c66fa261"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"417b2ff585b26950ed2f5be6c66fa261","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","requestID":"417b2ff585b26950ed2f5be6c66fa261"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":760,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:30Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":760,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.214395,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:30Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"417b2ff585b26950ed2f5be6c66fa261","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836350,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1MH0.po--_xdw1PkW-4kbyXt8OpknDe3xbkxnzsJURQYsM9U"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"417b2ff585b26950ed2f5be6c66fa261","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","requestID":"417b2ff585b26950ed2f5be6c66fa261"} gateway-1 | {"time_local":"28/Aug/2024:09:12:30 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9 HTTP/1.1","status": "200","body_bytes_sent":"1290","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"417b2ff585b26950ed2f5be6c66fa261"} experiment-1 | {"level":"info","message":"GET /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9 200 16ms","method":"GET","requestID":"417b2ff585b26950ed2f5be6c66fa261","responseTime":16,"status":200,"url":"/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"} device-1 | {"data":{"peerconnection":"b6ffbe1d-c3a9-4059-97b0-866650f8e4c0","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1MX0.MGW41R7ZHHyIwaMhDWQz5AJbxJ3EPnbASiZG8S17R8I","level":"info","message":"auth send jwt","requestID":"97fc065c84104b40a6a91b5ebbf98e20"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"97fc065c84104b40a6a91b5ebbf98e20","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","requestID":"97fc065c84104b40a6a91b5ebbf98e20"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":761,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:31Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":761,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.185012,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"97fc065c84104b40a6a91b5ebbf98e20","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836351,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1MX0.MGW41R7ZHHyIwaMhDWQz5AJbxJ3EPnbASiZG8S17R8I"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"97fc065c84104b40a6a91b5ebbf98e20","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","requestID":"97fc065c84104b40a6a91b5ebbf98e20"} experiment-1 | {"level":"info","message":"GET /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9 200 15ms","method":"GET","requestID":"97fc065c84104b40a6a91b5ebbf98e20","responseTime":15,"status":200,"url":"/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"} gateway-1 | {"time_local":"28/Aug/2024:09:12:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9 HTTP/1.1","status": "200","body_bytes_sent":"1290","request_time":"0.023","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"97fc065c84104b40a6a91b5ebbf98e20"} device-1 | {"data":{"peerconnection":"b6ffbe1d-c3a9-4059-97b0-866650f8e4c0","statusDeviceA":"connected","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1MX0.MGW41R7ZHHyIwaMhDWQz5AJbxJ3EPnbASiZG8S17R8I","level":"info","message":"auth send jwt","requestID":"06ca8d03f58d3fb5f05c3fa67015de3f"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"06ca8d03f58d3fb5f05c3fa67015de3f","responseTime":5,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","requestID":"06ca8d03f58d3fb5f05c3fa67015de3f"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":762,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:31Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":762,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.214096,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"06ca8d03f58d3fb5f05c3fa67015de3f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836351,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1MX0.MGW41R7ZHHyIwaMhDWQz5AJbxJ3EPnbASiZG8S17R8I"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"06ca8d03f58d3fb5f05c3fa67015de3f","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","requestID":"06ca8d03f58d3fb5f05c3fa67015de3f"} gateway-1 | {"time_local":"28/Aug/2024:09:12:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9 HTTP/1.1","status": "200","body_bytes_sent":"1290","request_time":"0.022","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"06ca8d03f58d3fb5f05c3fa67015de3f"} experiment-1 | {"level":"info","message":"GET /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9 200 15ms","method":"GET","requestID":"06ca8d03f58d3fb5f05c3fa67015de3f","responseTime":15,"status":200,"url":"/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/b6ffbe1d-c3a9-4059-97b0-866650f8e4c0' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b6ffbe1d-c3a9-4059-97b0-866650f8e4c0","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"f439b4cabca4955e7aac7a258b972706","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"f439b4cabca4955e7aac7a258b972706","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/801295c7-64bf-4406-aaf7-b1dd469fa2b2"},{"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/96017d3a-7af2-40d5-a7e9-6e8053670054"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/b6ffbe1d-c3a9-4059-97b0-866650f8e4c0"}}},"level":"info","message":"received a callback","requestID":"f439b4cabca4955e7aac7a258b972706"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"a7aaf2b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":763,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:31Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb6ffbe1d-c3a9-4059-97b0-866650f8e4c0","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"da478727-0549-406a-b6fd-228c60fd0141","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836351.3309426} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":763,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":4.742749,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b6ffbe1d-c3a9-4059-97b0-866650f8e4c0","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a7aaf2b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/b6ffbe1d-c3a9-4059-97b0-866650f8e4c0","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":"a7aaf2b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1MX0.MGW41R7ZHHyIwaMhDWQz5AJbxJ3EPnbASiZG8S17R8I","level":"info","message":"auth send jwt","requestID":"18f231c94ca4b74dd194b03c547e7f00"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"18f231c94ca4b74dd194b03c547e7f00","responseTime":6,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","requestID":"18f231c94ca4b74dd194b03c547e7f00"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":764,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:31Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":764,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.240588,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"18f231c94ca4b74dd194b03c547e7f00","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836351,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1MX0.MGW41R7ZHHyIwaMhDWQz5AJbxJ3EPnbASiZG8S17R8I"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"18f231c94ca4b74dd194b03c547e7f00","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","requestID":"18f231c94ca4b74dd194b03c547e7f00"} gateway-1 | {"time_local":"28/Aug/2024:09:12:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9 HTTP/1.1","status": "200","body_bytes_sent":"1290","request_time":"0.024","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"18f231c94ca4b74dd194b03c547e7f00"} experiment-1 | {"level":"info","message":"GET /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9 200 16ms","method":"GET","requestID":"18f231c94ca4b74dd194b03c547e7f00","responseTime":16,"status":200,"url":"/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"a7aaf2b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/b6ffbe1d-c3a9-4059-97b0-866650f8e4c0 200 100ms","method":"GET","requestID":"a7aaf2b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":100,"status":200,"url":"/peerconnections/b6ffbe1d-c3a9-4059-97b0-866650f8e4c0"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1MX0.MGW41R7ZHHyIwaMhDWQz5AJbxJ3EPnbASiZG8S17R8I","level":"info","message":"auth send jwt","requestID":"a28f7bb68e524fd70f87ff5c197cabfd"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"a28f7bb68e524fd70f87ff5c197cabfd","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","requestID":"a28f7bb68e524fd70f87ff5c197cabfd"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":765,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:31Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":765,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.19739,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:31Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a28f7bb68e524fd70f87ff5c197cabfd","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836351,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1MX0.MGW41R7ZHHyIwaMhDWQz5AJbxJ3EPnbASiZG8S17R8I"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a28f7bb68e524fd70f87ff5c197cabfd","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 253ms","method":"POST","requestID":"f439b4cabca4955e7aac7a258b972706","responseTime":253,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12: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.258","http_referrer":"","http_user_agent":"node-fetch","requestID":"f439b4cabca4955e7aac7a258b972706"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a7d0a320-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":766,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:31Z"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","requestID":"a28f7bb68e524fd70f87ff5c197cabfd"} gateway-1 | {"time_local":"28/Aug/2024:09:12:31 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9 HTTP/1.1","status": "200","body_bytes_sent":"1292","request_time":"0.103","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a28f7bb68e524fd70f87ff5c197cabfd"} experiment-1 | {"level":"info","message":"GET /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9 200 98ms","method":"GET","requestID":"a28f7bb68e524fd70f87ff5c197cabfd","responseTime":98,"status":200,"url":"/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ec067f4d-98a6-48fe-b294-ebec8c591f80","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836351.5769632} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":766,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.392444,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a7d0a320-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","object_type":"device","rebac_allow":false,"scope_allow":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":"a7d0a320-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1MX0.MGW41R7ZHHyIwaMhDWQz5AJbxJ3EPnbASiZG8S17R8I","level":"info","message":"auth send jwt","requestID":"ad2e71724110b1380f2dbbe09d47f86c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a7d0a320-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2/signaling 200 14ms","method":"POST","requestID":"a7d0a320-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2/signaling"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"ad2e71724110b1380f2dbbe09d47f86c","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a7d33b30-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","requestID":"ad2e71724110b1380f2dbbe09d47f86c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":767,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:31Z"} authorization-1 | {"client_addr":"127.0.0.1:50488","level":"info","msg":"Received request.","req_id":768,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:31Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"c3c4f9c4-dea0-4100-aafa-6539be1250a9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836351.5949497} authorization-1 | {"client_addr":"127.0.0.1:50488","level":"info","msg":"Sent response.","req_id":768,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.440662,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:31Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ad2e71724110b1380f2dbbe09d47f86c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836351,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1MX0.MGW41R7ZHHyIwaMhDWQz5AJbxJ3EPnbASiZG8S17R8I"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ad2e71724110b1380f2dbbe09d47f86c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":767,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.293035,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:31Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a7d33b30-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","object_type":"device","rebac_allow":false,"scope_allow":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":"a7d33b30-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a7d33b30-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/96017d3a-7af2-40d5-a7e9-6e8053670054/signaling 200 17ms","method":"POST","requestID":"a7d33b30-651d-11ef-83ce-bd5a3df00b5c","responseTime":17,"status":200,"url":"/devices/96017d3a-7af2-40d5-a7e9-6e8053670054/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"},"level":"info","message":"Attempting to finish experiment","requestID":"ad2e71724110b1380f2dbbe09d47f86c"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"a7d70bc0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":769,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:31Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":769,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":2.624977,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:31Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/b6ffbe1d-c3a9-4059-97b0-866650f8e4c0","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a7d70bc0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/b6ffbe1d-c3a9-4059-97b0-866650f8e4c0","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836351,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1MX0.MGW41R7ZHHyIwaMhDWQz5AJbxJ3EPnbASiZG8S17R8I"} authorization-1 | {"level":"info","message":"POST /authorize 200 7ms","method":"POST","requestID":"a7d70bc0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"device":"801295c7-64bf-4406-aaf7-b1dd469fa2b2","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":"801295c7-64bf-4406-aaf7-b1dd469fa2b2","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":"801295c7-64bf-4406-aaf7-b1dd469fa2b2","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":"96017d3a-7af2-40d5-a7e9-6e8053670054","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":"96017d3a-7af2-40d5-a7e9-6e8053670054","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":"96017d3a-7af2-40d5-a7e9-6e8053670054","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/b6ffbe1d-c3a9-4059-97b0-866650f8e4c0' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/b6ffbe1d-c3a9-4059-97b0-866650f8e4c0' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"b6ffbe1d-c3a9-4059-97b0-866650f8e4c0","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"29948aa5c01779edab5be0243d4cec14","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb6ffbe1d-c3a9-4059-97b0-866650f8e4c0': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fb6ffbe1d-c3a9-4059-97b0-866650f8e4c0","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"4ca1998d-d9ad-4e3d-a65e-0bf873334a6b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836351.6433864} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"29948aa5c01779edab5be0243d4cec14","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"bd73e535031c396e47eafd63435731e5","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/801295c7-64bf-4406-aaf7-b1dd469fa2b2"},{"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/96017d3a-7af2-40d5-a7e9-6e8053670054"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b6ffbe1d-c3a9-4059-97b0-866650f8e4c0"}}},"level":"info","message":"received a callback","requestID":"29948aa5c01779edab5be0243d4cec14"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"bd73e535031c396e47eafd63435731e5","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/801295c7-64bf-4406-aaf7-b1dd469fa2b2"},{"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/96017d3a-7af2-40d5-a7e9-6e8053670054"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/b6ffbe1d-c3a9-4059-97b0-866650f8e4c0"}}},"level":"info","message":"received a callback","requestID":"bd73e535031c396e47eafd63435731e5"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"52403a54-5926-42dd-a902-b7d9ecb23fe7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836351.6440485} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"a7d70bc0-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"b6ffbe1d-c3a9-4059-97b0-866650f8e4c0","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"a7d70bc0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/b6ffbe1d-c3a9-4059-97b0-866650f8e4c0 204 324ms","method":"DELETE","requestID":"a7d70bc0-651d-11ef-83ce-bd5a3df00b5c","responseTime":324,"status":204,"url":"/peerconnections/b6ffbe1d-c3a9-4059-97b0-866650f8e4c0"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"},"level":"info","message":"Successfully finished experiment","requestID":"ad2e71724110b1380f2dbbe09d47f86c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a81aa470-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":770,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:32Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F801295c7-64bf-4406-aaf7-b1dd469fa2b2","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"54fa0d99-8033-465f-8833-919e31c40a6a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836352.0630207} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":770,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.512864,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a81aa470-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2","object_type":"device","rebac_allow":false,"scope_allow":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":"a81aa470-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a81aa470-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2/signaling 200 15ms","method":"POST","requestID":"a81aa470-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/devices/801295c7-64bf-4406-aaf7-b1dd469fa2b2/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a81d6390-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":771,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:32Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F96017d3a-7af2-40d5-a7e9-6e8053670054","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"951ff625-6da5-4b5e-bd85-056e025323fa","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836352.080977} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":771,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.544679,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:32Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a81d6390-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054","object_type":"device","rebac_allow":false,"scope_allow":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":"a81d6390-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a81d6390-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/96017d3a-7af2-40d5-a7e9-6e8053670054/signaling 200 16ms","method":"POST","requestID":"a81d6390-651d-11ef-83ce-bd5a3df00b5c","responseTime":16,"status":200,"url":"/devices/96017d3a-7af2-40d5-a7e9-6e8053670054/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff1be3ea8-5771-4691-b224-f81f4a06f9e9': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ff1be3ea8-5771-4691-b224-f81f4a06f9e9","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"0f3d1592-1176-40b8-9be0-ea3932747b88","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836352.1194353} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9e1c5020-c004-4e3e-8cbc-733d767616f8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836352.1200726} authorization-1 | {"level":"info","message":"POST /relations/update 200 70ms","method":"POST","requestID":"ad2e71724110b1380f2dbbe09d47f86c","responseTime":70,"status":200,"url":"/relations/update"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9","requestID":"ad2e71724110b1380f2dbbe09d47f86c"} gateway-1 | {"time_local":"28/Aug/2024:09:12:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"1.157","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"ad2e71724110b1380f2dbbe09d47f86c"} gateway-1 | {"time_local":"28/Aug/2024:09:12:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2707","request_time":"4.192","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"76dd5e4f2a06d3c239f65d37c3623890"} gateway-1 | {"time_local":"28/Aug/2024:09:12:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2709","request_time":"4.232","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"dd34228e89f716b43c4c0ec4d3078c27"} experiment-1 | {"level":"info","message":"DELETE /experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9 204 1150ms","method":"DELETE","requestID":"ad2e71724110b1380f2dbbe09d47f86c","responseTime":1150,"status":204,"url":"/experiments/f1be3ea8-5771-4691-b224-f81f4a06f9e9"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1Mn0.M-WFm7niZVI6ThJ9EvVQVO4KJs0O2rDbv3EwLaSHY4c","level":"info","message":"auth send jwt","requestID":"bcb8368a5bf5dfe36258ba15e31e5c97"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 1097ms","method":"POST","requestID":"29948aa5c01779edab5be0243d4cec14","responseTime":1097,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"1.101","http_referrer":"","http_user_agent":"node-fetch","requestID":"29948aa5c01779edab5be0243d4cec14"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"bcb8368a5bf5dfe36258ba15e31e5c97","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 1096ms","method":"POST","requestID":"bd73e535031c396e47eafd63435731e5","responseTime":1096,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:32 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"1.102","http_referrer":"","http_user_agent":"node-fetch","requestID":"bd73e535031c396e47eafd63435731e5"} device-1 | {"data":{"code":1006,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/96017d3a-7af2-40d5-a7e9-6e8053670054' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"bcb8368a5bf5dfe36258ba15e31e5c97"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":772,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:32Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":772,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.987885,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:32Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"bcb8368a5bf5dfe36258ba15e31e5c97","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836352,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1Mn0.M-WFm7niZVI6ThJ9EvVQVO4KJs0O2rDbv3EwLaSHY4c"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"bcb8368a5bf5dfe36258ba15e31e5c97","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/801295c7-64bf-4406-aaf7-b1dd469fa2b2' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"2f1e1af3-cd5b-4e89-a9d0-d827e886bb60","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836352.929586} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"bcb8368a5bf5dfe36258ba15e31e5c97","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b5783111-6349-4136-b160-ddc2fb09ed25","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836352.9381194} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"bcb8368a5bf5dfe36258ba15e31e5c97","responseTime":6,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"040f7c53-cd75-4d72-8720-0d916c0274fe","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836353.0407097} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b850742d-1d7c-4f41-a290-2b08bd8f7f2a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836353.0413365} authorization-1 | {"level":"info","message":"POST /relations/update 200 106ms","method":"POST","requestID":"bcb8368a5bf5dfe36258ba15e31e5c97","responseTime":106,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:33.040669609Z"}]},"request_id":"933f83ea-0a8d-4aea-9387-5048a286e0d9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836353.0477366} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"bcb8368a5bf5dfe36258ba15e31e5c97","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"bcb8368a5bf5dfe36258ba15e31e5c97"} gateway-1 | {"time_local":"28/Aug/2024:09:12:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.314","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"bcb8368a5bf5dfe36258ba15e31e5c97"} device-1 | {"level":"info","message":"POST /devices? 201 305ms","method":"POST","requestID":"bcb8368a5bf5dfe36258ba15e31e5c97","responseTime":305,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1M30.6BrZ6i_R_X4I5cusOlL_AM0X1MTxO1w1lEtTSQ5Wtyo","level":"info","message":"auth send jwt","requestID":"05a2ce0b1ce087618551e9e843c9cf9f"} authentication-1 | {"level":"info","message":"GET /auth 200 6ms","method":"GET","requestID":"05a2ce0b1ce087618551e9e843c9cf9f","responseTime":6,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"05a2ce0b1ce087618551e9e843c9cf9f"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":773,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:33Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":773,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.238319,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:33Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"05a2ce0b1ce087618551e9e843c9cf9f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836353,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1M30.6BrZ6i_R_X4I5cusOlL_AM0X1MTxO1w1lEtTSQ5Wtyo"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"05a2ce0b1ce087618551e9e843c9cf9f","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"b12196f1-70e9-464a-be9a-61693374ef73","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836353.2186904} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"05a2ce0b1ce087618551e9e843c9cf9f","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ff901d1d-e41d-4fc0-9f75-6c30ddeb6fcb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836353.2258534} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"05a2ce0b1ce087618551e9e843c9cf9f","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"caa80c38-8570-4a83-9505-b0a6c76937e3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836353.3438761} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"b837588c-5246-4ffe-98df-9f8e1a33b29d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836353.344314} authorization-1 | {"level":"info","message":"POST /relations/update 200 123ms","method":"POST","requestID":"05a2ce0b1ce087618551e9e843c9cf9f","responseTime":123,"status":200,"url":"/relations/update"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:33.343832484Z"}]},"request_id":"8c36e7b0-99f0-4700-9135-42143f6f1839","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836353.3515577} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"05a2ce0b1ce087618551e9e843c9cf9f","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"05a2ce0b1ce087618551e9e843c9cf9f"} device-1 | {"level":"info","message":"POST /devices? 201 293ms","method":"POST","requestID":"05a2ce0b1ce087618551e9e843c9cf9f","responseTime":293,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"28/Aug/2024:09:12:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"316","request_time":"0.301","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"05a2ce0b1ce087618551e9e843c9cf9f"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1M30.6BrZ6i_R_X4I5cusOlL_AM0X1MTxO1w1lEtTSQ5Wtyo","level":"info","message":"auth send jwt","requestID":"1939cca96ef194d20ae530e0eac17aac"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1939cca96ef194d20ae530e0eac17aac","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"1939cca96ef194d20ae530e0eac17aac"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":774,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:33Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":774,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.701585,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:33Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"1939cca96ef194d20ae530e0eac17aac","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836353,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1M30.6BrZ6i_R_X4I5cusOlL_AM0X1MTxO1w1lEtTSQ5Wtyo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1939cca96ef194d20ae530e0eac17aac","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:33.343832484Z"}]},"request_id":"89c9e8ef-4bd8-40b2-8684-77f824dcc7fa","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836353.899853} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"1939cca96ef194d20ae530e0eac17aac","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6a1e8aa5-085f-4051-8173-e677c5be68c2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836353.9046164} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"1939cca96ef194d20ae530e0eac17aac","responseTime":3,"status":200,"url":"/relations/update"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1M30.6BrZ6i_R_X4I5cusOlL_AM0X1MTxO1w1lEtTSQ5Wtyo","level":"info","message":"auth send jwt","requestID":"51877d65f075b0ada1de543e522a7cd2"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"51877d65f075b0ada1de543e522a7cd2","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"patchDevicesByDeviceId called","requestID":"51877d65f075b0ada1de543e522a7cd2"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":775,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:33Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":775,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.935291,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:33Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"51877d65f075b0ada1de543e522a7cd2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836353,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1M30.6BrZ6i_R_X4I5cusOlL_AM0X1MTxO1w1lEtTSQ5Wtyo"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"51877d65f075b0ada1de543e522a7cd2","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"1939cca96ef194d20ae530e0eac17aac"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:33.343832484Z"}]},"request_id":"d43c5e07-b34f-4c11-a9e0-36608459691f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836353.9504216} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"1939cca96ef194d20ae530e0eac17aac","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:33.040669609Z"}]},"request_id":"39232b26-c928-4f18-8cff-1e4e4d9df31d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836353.9522355} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"51877d65f075b0ada1de543e522a7cd2","responseTime":3,"status":200,"url":"/relations/query"} gateway-1 | {"time_local":"28/Aug/2024:09:12:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/71099197-b0b5-41bb-8193-e653b937d51e 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":"1939cca96ef194d20ae530e0eac17aac"} device-1 | {"level":"info","message":"PATCH /devices/71099197-b0b5-41bb-8193-e653b937d51e 200 63ms","method":"PATCH","requestID":"1939cca96ef194d20ae530e0eac17aac","responseTime":63,"status":200,"url":"/devices/71099197-b0b5-41bb-8193-e653b937d51e"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a36edad0-a59c-4c06-b565-1e7dd094f775","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836353.9584014} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1M30.6BrZ6i_R_X4I5cusOlL_AM0X1MTxO1w1lEtTSQ5Wtyo","level":"info","message":"auth send jwt","requestID":"5e5d203a6898450753f58d9f445964d1"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"5e5d203a6898450753f58d9f445964d1","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"51877d65f075b0ada1de543e522a7cd2","responseTime":3,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"5e5d203a6898450753f58d9f445964d1"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":776,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:33Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":776,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.734627,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:33Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"5e5d203a6898450753f58d9f445964d1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836353,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1M30.6BrZ6i_R_X4I5cusOlL_AM0X1MTxO1w1lEtTSQ5Wtyo"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"5e5d203a6898450753f58d9f445964d1","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:33.040669609Z"}]},"request_id":"84506897-0531-4b08-b277-2f6c5cf7aa90","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836353.9783058} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"51877d65f075b0ada1de543e522a7cd2","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"patchDevicesByDeviceId succeeded","requestID":"51877d65f075b0ada1de543e522a7cd2"} gateway-1 | {"time_local":"28/Aug/2024:09:12:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"PATCH /devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743 HTTP/1.1","status": "200","body_bytes_sent":"1087","request_time":"0.076","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"51877d65f075b0ada1de543e522a7cd2"} device-1 | {"level":"info","message":"PATCH /devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743 200 72ms","method":"PATCH","requestID":"51877d65f075b0ada1de543e522a7cd2","responseTime":72,"status":200,"url":"/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1M30.6BrZ6i_R_X4I5cusOlL_AM0X1MTxO1w1lEtTSQ5Wtyo","level":"info","message":"auth send jwt","requestID":"869f5889990817fb269d9301e54f5937"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"869f5889990817fb269d9301e54f5937","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"869f5889990817fb269d9301e54f5937"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"5e5d203a6898450753f58d9f445964d1"} device-1 | {"level":"info","message":"POST /devices/71099197-b0b5-41bb-8193-e653b937d51e/websocket 200 28ms","method":"POST","requestID":"5e5d203a6898450753f58d9f445964d1","responseTime":28,"status":200,"url":"/devices/71099197-b0b5-41bb-8193-e653b937d51e/websocket"} gateway-1 | {"time_local":"28/Aug/2024:09:12:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/71099197-b0b5-41bb-8193-e653b937d51e/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.033","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"5e5d203a6898450753f58d9f445964d1"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":777,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:33Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":777,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.850686,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:33Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"869f5889990817fb269d9301e54f5937","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836353,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1M30.6BrZ6i_R_X4I5cusOlL_AM0X1MTxO1w1lEtTSQ5Wtyo"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"869f5889990817fb269d9301e54f5937","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"869f5889990817fb269d9301e54f5937"} gateway-1 | {"time_local":"28/Aug/2024:09:12:33 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.015","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"869f5889990817fb269d9301e54f5937"} device-1 | {"level":"info","message":"POST /devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743/websocket 200 11ms","method":"POST","requestID":"869f5889990817fb269d9301e54f5937","responseTime":11,"status":200,"url":"/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1NH0.SgP4UHwJX7kk7KjnnuRJj66iBAVoxqs2MWNEFq5Bk2U","level":"info","message":"auth send jwt","requestID":"17e588afebd425ed33dac92a3708f708"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"17e588afebd425ed33dac92a3708f708","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"17e588afebd425ed33dac92a3708f708"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":778,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":778,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.672061,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"17e588afebd425ed33dac92a3708f708","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836354,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1NH0.SgP4UHwJX7kk7KjnnuRJj66iBAVoxqs2MWNEFq5Bk2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"17e588afebd425ed33dac92a3708f708","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:33.040669609Z"}]},"request_id":"42b040ee-8f12-438e-ad13-95b8ded9365d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836354.029588} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"17e588afebd425ed33dac92a3708f708","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"17e588afebd425ed33dac92a3708f708"} device-1 | {"level":"info","message":"GET /devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743? 200 10ms","method":"GET","requestID":"17e588afebd425ed33dac92a3708f708","responseTime":10,"status":200,"url":"/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743?"} gateway-1 | {"time_local":"28/Aug/2024:09:12:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743? 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":"17e588afebd425ed33dac92a3708f708"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1NH0.SgP4UHwJX7kk7KjnnuRJj66iBAVoxqs2MWNEFq5Bk2U","level":"info","message":"auth send jwt","requestID":"937b6920fd7f7bb6272eb0a885ef93ba"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"937b6920fd7f7bb6272eb0a885ef93ba","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"937b6920fd7f7bb6272eb0a885ef93ba"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":779,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":779,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.838719,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"937b6920fd7f7bb6272eb0a885ef93ba","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836354,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1NH0.SgP4UHwJX7kk7KjnnuRJj66iBAVoxqs2MWNEFq5Bk2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"937b6920fd7f7bb6272eb0a885ef93ba","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:33.343832484Z"}]},"request_id":"fc9002a9-5b60-4205-851c-597543f3c789","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836354.044414} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"937b6920fd7f7bb6272eb0a885ef93ba","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"937b6920fd7f7bb6272eb0a885ef93ba"} gateway-1 | {"time_local":"28/Aug/2024:09:12:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/71099197-b0b5-41bb-8193-e653b937d51e? 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":"937b6920fd7f7bb6272eb0a885ef93ba"} device-1 | {"level":"info","message":"GET /devices/71099197-b0b5-41bb-8193-e653b937d51e? 200 10ms","method":"GET","requestID":"937b6920fd7f7bb6272eb0a885ef93ba","responseTime":10,"status":200,"url":"/devices/71099197-b0b5-41bb-8193-e653b937d51e?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1NH0.SgP4UHwJX7kk7KjnnuRJj66iBAVoxqs2MWNEFq5Bk2U","level":"info","message":"auth send jwt","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"64d2589c7af9c27ce8272701f4e71f7d","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":780,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":780,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.758962,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"64d2589c7af9c27ce8272701f4e71f7d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836354,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1NH0.SgP4UHwJX7kk7KjnnuRJj66iBAVoxqs2MWNEFq5Bk2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"64d2589c7af9c27ce8272701f4e71f7d","responseTime":2,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0"},"level":"info","message":"Attempting to run experiment","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0"},"level":"info","message":"Attempting to book experiment","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0"},"level":"info","message":"Successfully booked experiment","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a951ebf0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a9521300-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":781,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":781,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.601237,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"client_addr":"127.0.0.1:50488","level":"info","msg":"Received request.","req_id":782,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a951ebf0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836354,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1NH0.SgP4UHwJX7kk7KjnnuRJj66iBAVoxqs2MWNEFq5Bk2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a951ebf0-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:50488","level":"info","msg":"Sent response.","req_id":782,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.643271,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a9521300-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836354,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1NH0.SgP4UHwJX7kk7KjnnuRJj66iBAVoxqs2MWNEFq5Bk2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a9521300-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:33.040669609Z"}]},"request_id":"b095e215-9201-48f8-8118-4e4950e99415","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836354.1023326} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a951ebf0-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:33.343832484Z"}]},"request_id":"18ed04b5-f0d4-4b43-8041-6534d4709484","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836354.103051} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a9521300-651d-11ef-83ce-bd5a3df00b5c","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a951ebf0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743? 200 12ms","method":"GET","requestID":"a951ebf0-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a9521300-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/71099197-b0b5-41bb-8193-e653b937d51e? 200 11ms","method":"GET","requestID":"a9521300-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/71099197-b0b5-41bb-8193-e653b937d51e?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0"},"level":"info","message":"Setting up experiment","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0"},"level":"info","message":"Successfully locked booking for experiment","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0"},"level":"info","message":"Attempting to update booking for experiment","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0"},"level":"info","message":"Successfully updated booking for experiment","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0"},"level":"info","message":"Successfully set up experiment","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a95c7340-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a95c9a50-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0"},"level":"info","message":"Successfully running experiment","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a95ce870-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50488","level":"info","msg":"Received request.","req_id":783,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":784,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"client_addr":"127.0.0.1:50488","level":"info","msg":"Sent response.","req_id":783,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.736693,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":784,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.086335,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a95c7340-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836354,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1NH0.SgP4UHwJX7kk7KjnnuRJj66iBAVoxqs2MWNEFq5Bk2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a95c7340-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a95c9a50-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836354,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1NH0.SgP4UHwJX7kk7KjnnuRJj66iBAVoxqs2MWNEFq5Bk2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a95c9a50-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":785,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4b118623-fec5-4063-a3b5-d563a1f41a17","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836354.174738} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:33.343832484Z"}]},"request_id":"69945ed9-7f8e-4850-b951-071ec9af9b01","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836354.1752853} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":785,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.577915,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a95ce870-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","object_type":"device","rebac_allow":false,"scope_allow":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":"a95ce870-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a95c9a50-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:33.040669609Z"}]},"request_id":"0b3a28c6-199a-4203-82d2-e0aca03beefa","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836354.176198} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"a95c7340-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a95ce870-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743/signaling 200 14ms","method":"POST","requestID":"a95ce870-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a95c9a50-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/71099197-b0b5-41bb-8193-e653b937d51e? 200 17ms","method":"GET","requestID":"a95c9a50-651d-11ef-83ce-bd5a3df00b5c","responseTime":17,"status":200,"url":"/devices/71099197-b0b5-41bb-8193-e653b937d51e?"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F2dca8898-5679-4ec0-bd92-b3c83854b8a0#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F2dca8898-5679-4ec0-bd92-b3c83854b8a0","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"e7290f45-a98a-445c-afb0-74554f5a3add","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836354.1827755} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a95c7340-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743? 200 19ms","method":"GET","requestID":"a95c7340-651d-11ef-83ce-bd5a3df00b5c","responseTime":19,"status":200,"url":"/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ac294fb9-8a0b-4fc4-83b3-d969595f14d9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836354.18311} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a95f8080-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"64d2589c7af9c27ce8272701f4e71f7d","responseTime":15,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":786,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:34Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a95ff5b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"1dafdb09-a492-4702-9f11-0719ae23015d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836354.188385} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":786,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.627883,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":787,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a95f8080-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a95f8080-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5bbf986a-1c52-40c8-8a49-6014bd32dfbb","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836354.1915565} experiment-1 | {"data":{"experiment":"http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":787,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.961679,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:34Z"} gateway-1 | {"time_local":"28/Aug/2024:09:12:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1219","request_time":"0.144","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} experiment-1 | {"level":"info","message":"POST /experiments? 201 140ms","method":"POST","requestID":"64d2589c7af9c27ce8272701f4e71f7d","responseTime":140,"status":201,"url":"/experiments?"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a95ff5b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","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":"a95f8080-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/71099197-b0b5-41bb-8193-e653b937d51e/signaling 200 9ms","method":"POST","requestID":"a95f8080-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/71099197-b0b5-41bb-8193-e653b937d51e/signaling"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"a95ff5b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a95ff5b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743/signaling 200 9ms","method":"POST","requestID":"a95ff5b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1NH0.SgP4UHwJX7kk7KjnnuRJj66iBAVoxqs2MWNEFq5Bk2U","level":"info","message":"auth send jwt","requestID":"ef758e9cc5121e7052743845e2ae3cb0"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a961a360-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"ef758e9cc5121e7052743845e2ae3cb0","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ef758e9cc5121e7052743845e2ae3cb0"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":788,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":789,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":788,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.638402,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"7a143157-7973-4e3c-a600-0e5702d51401","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836354.202782} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a961a360-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a961a360-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":789,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.648158,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ef758e9cc5121e7052743845e2ae3cb0","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836354,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1NH0.SgP4UHwJX7kk7KjnnuRJj66iBAVoxqs2MWNEFq5Bk2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ef758e9cc5121e7052743845e2ae3cb0","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a961a360-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/71099197-b0b5-41bb-8193-e653b937d51e/signaling 200 10ms","method":"POST","requestID":"a961a360-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/71099197-b0b5-41bb-8193-e653b937d51e/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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:33.040669609Z"}]},"request_id":"51dbeb6c-2c1a-47c7-b34f-478e801b0498","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836354.209002} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"ef758e9cc5121e7052743845e2ae3cb0","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"a9639f30-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0"},"level":"info","message":"Building connection plan","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} 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":"366d1f44-8ec6-4379-a36f-a81bce00fc26"},{"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":"eac9d346-672b-4469-9cb9-6388abd10e3e"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"231aaa51-579f-48bb-b559-4933440d7af2"}]},"level":"info","message":"Built pairwise service configurations","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} 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/71099197-b0b5-41bb-8193-e653b937d51e"},{"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/36709a51-12af-4bd8-9fe7-de2ba6e5d743"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ef758e9cc5121e7052743845e2ae3cb0"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":790,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:34Z"} gateway-1 | {"time_local":"28/Aug/2024:09:12:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743? 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":"ef758e9cc5121e7052743845e2ae3cb0"} device-1 | {"level":"info","message":"GET /devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743? 200 14ms","method":"GET","requestID":"ef758e9cc5121e7052743845e2ae3cb0","responseTime":14,"status":200,"url":"/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743?"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":790,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.885599,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a9639f30-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836354,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1NH0.SgP4UHwJX7kk7KjnnuRJj66iBAVoxqs2MWNEFq5Bk2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a9639f30-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1NH0.SgP4UHwJX7kk7KjnnuRJj66iBAVoxqs2MWNEFq5Bk2U","level":"info","message":"auth send jwt","requestID":"17ff0837a0d708c877ea8602b766df70"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"17ff0837a0d708c877ea8602b766df70","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"17ff0837a0d708c877ea8602b766df70"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":791,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":791,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.680268,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"17ff0837a0d708c877ea8602b766df70","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836354,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1NH0.SgP4UHwJX7kk7KjnnuRJj66iBAVoxqs2MWNEFq5Bk2U"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"17ff0837a0d708c877ea8602b766df70","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"82d8ed3b-b14e-4b7a-bb87-930845753ab7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836354.2230296} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"70702238-2383-4113-b8dc-fcdd0977e9ec","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836354.2232666} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"a9639f30-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:33.343832484Z"}]},"request_id":"9f92bcca-218e-45ce-93dd-d8262530354f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836354.2267315} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"17ff0837a0d708c877ea8602b766df70","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"a9639f30-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"a9639f30-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/5f25afef-c2ab-464e-98f4-4e3dcab48e64'","requestID":"a9639f30-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/5f25afef-c2ab-464e-98f4-4e3dcab48e64'","requestID":"a9639f30-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"a9639f30-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /peerconnections?closedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment&statusChangedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 37ms","method":"POST","requestID":"a9639f30-651d-11ef-83ce-bd5a3df00b5c","responseTime":37,"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":"17ff0837a0d708c877ea8602b766df70"} device-1 | {"level":"info","message":"GET /devices/71099197-b0b5-41bb-8193-e653b937d51e? 200 29ms","method":"GET","requestID":"17ff0837a0d708c877ea8602b766df70","responseTime":29,"status":200,"url":"/devices/71099197-b0b5-41bb-8193-e653b937d51e?"} gateway-1 | {"time_local":"28/Aug/2024:09:12:34 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/71099197-b0b5-41bb-8193-e653b937d51e? HTTP/1.1","status": "200","body_bytes_sent":"1086","request_time":"0.034","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"17ff0837a0d708c877ea8602b766df70"} device-1 | {"level":"info","message":"deviceAHasVideo: false, deviceBHasVideo: false","requestID":"a9639f30-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"64d2589c7af9c27ce8272701f4e71f7d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a96e2680-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":792,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8bb9acb6-9165-41ec-a639-2efdc928c2f9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836354.2844296} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":792,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.195269,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a96e2680-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a96e2680-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a96e2680-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743/signaling 200 8ms","method":"POST","requestID":"a96e2680-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"a96f8610-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":793,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"ae7cc937-2e0a-48a2-a2c0-c303da022865","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836354.2940736} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":793,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.929449,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:34Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a96f8610-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"a96f8610-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"a96f8610-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/71099197-b0b5-41bb-8193-e653b937d51e/signaling 200 9ms","method":"POST","requestID":"a96f8610-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/71099197-b0b5-41bb-8193-e653b937d51e/signaling"} device-1 | {"device":"36709a51-12af-4bd8-9fe7-de2ba6e5d743","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":"5f25afef-c2ab-464e-98f4-4e3dcab48e64","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"71099197-b0b5-41bb-8193-e653b937d51e","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":"5f25afef-c2ab-464e-98f4-4e3dcab48e64","statusDeviceA":"new","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"71099197-b0b5-41bb-8193-e653b937d51e","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":"71099197-b0b5-41bb-8193-e653b937d51e","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":"71099197-b0b5-41bb-8193-e653b937d51e","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":"71099197-b0b5-41bb-8193-e653b937d51e","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/5f25afef-c2ab-464e-98f4-4e3dcab48e64' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"5f25afef-c2ab-464e-98f4-4e3dcab48e64","statusDeviceA":"connecting","statusDeviceB":"new"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9192e3698bef188ef9271a043e486370","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"9192e3698bef188ef9271a043e486370","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/71099197-b0b5-41bb-8193-e653b937d51e"},{"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/36709a51-12af-4bd8-9fe7-de2ba6e5d743"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/5f25afef-c2ab-464e-98f4-4e3dcab48e64"}}},"level":"info","message":"received a callback","requestID":"9192e3698bef188ef9271a043e486370"} device-1 | {"device":"36709a51-12af-4bd8-9fe7-de2ba6e5d743","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":"36709a51-12af-4bd8-9fe7-de2ba6e5d743","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":"36709a51-12af-4bd8-9fe7-de2ba6e5d743","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 6ms","method":"POST","requestID":"9192e3698bef188ef9271a043e486370","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.008","http_referrer":"","http_user_agent":"node-fetch","requestID":"9192e3698bef188ef9271a043e486370"} device-1 | {"device":"71099197-b0b5-41bb-8193-e653b937d51e","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":"36709a51-12af-4bd8-9fe7-de2ba6e5d743","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 | {"data":{"peerconnection":"5f25afef-c2ab-464e-98f4-4e3dcab48e64","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"71099197-b0b5-41bb-8193-e653b937d51e","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":"36709a51-12af-4bd8-9fe7-de2ba6e5d743","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":"5f25afef-c2ab-464e-98f4-4e3dcab48e64","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/5f25afef-c2ab-464e-98f4-4e3dcab48e64' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"5f25afef-c2ab-464e-98f4-4e3dcab48e64","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"4f65b8b7ee303174094a75a50a8560c4","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"4f65b8b7ee303174094a75a50a8560c4","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/71099197-b0b5-41bb-8193-e653b937d51e"},{"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/36709a51-12af-4bd8-9fe7-de2ba6e5d743"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/5f25afef-c2ab-464e-98f4-4e3dcab48e64"}}},"level":"info","message":"received a callback","requestID":"4f65b8b7ee303174094a75a50a8560c4"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"aaa965a0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":794,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:36Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F5f25afef-c2ab-464e-98f4-4e3dcab48e64","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"bb6ff728-0f63-44e8-9cd3-56c8e051046e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836356.3510008} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":794,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.455495,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/5f25afef-c2ab-464e-98f4-4e3dcab48e64","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"aaa965a0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/5f25afef-c2ab-464e-98f4-4e3dcab48e64","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":"aaa965a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"aaa965a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/5f25afef-c2ab-464e-98f4-4e3dcab48e64 200 14ms","method":"GET","requestID":"aaa965a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/peerconnections/5f25afef-c2ab-464e-98f4-4e3dcab48e64"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 36ms","method":"POST","requestID":"4f65b8b7ee303174094a75a50a8560c4","responseTime":36,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.040","http_referrer":"","http_user_agent":"node-fetch","requestID":"4f65b8b7ee303174094a75a50a8560c4"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"aaae6eb0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":795,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:36Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9f9da494-941f-46f1-a8dd-64918c038e39","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836356.38354} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":795,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.152456,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"aaae6eb0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","object_type":"device","rebac_allow":false,"scope_allow":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":"aaae6eb0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"aaae6eb0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/71099197-b0b5-41bb-8193-e653b937d51e/signaling 200 8ms","method":"POST","requestID":"aaae6eb0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/71099197-b0b5-41bb-8193-e653b937d51e/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"aaaff550-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":796,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:36Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"90fa2795-9e6a-4fd1-a1c9-a6d2ebfeeb6e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836356.3936567} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":796,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.208198,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"aaaff550-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"aaaff550-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"aaaff550-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743/signaling 200 8ms","method":"POST","requestID":"aaaff550-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1Nn0.LSju7JjnUSs8503S4zdQBpk40LoGJYPAnq0ujbbEgN8","level":"info","message":"auth send jwt","requestID":"8866a47d0291d3d612b2a195e021beb8"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"8866a47d0291d3d612b2a195e021beb8","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0","requestID":"8866a47d0291d3d612b2a195e021beb8"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":797,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":797,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.8194,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:36Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8866a47d0291d3d612b2a195e021beb8","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836356,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1Nn0.LSju7JjnUSs8503S4zdQBpk40LoGJYPAnq0ujbbEgN8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8866a47d0291d3d612b2a195e021beb8","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0","requestID":"8866a47d0291d3d612b2a195e021beb8"} experiment-1 | {"level":"info","message":"GET /experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0 200 10ms","method":"GET","requestID":"8866a47d0291d3d612b2a195e021beb8","responseTime":10,"status":200,"url":"/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0"} gateway-1 | {"time_local":"28/Aug/2024:09:12:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0 HTTP/1.1","status": "200","body_bytes_sent":"1292","request_time":"0.013","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"8866a47d0291d3d612b2a195e021beb8"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1Nn0.LSju7JjnUSs8503S4zdQBpk40LoGJYPAnq0ujbbEgN8","level":"info","message":"auth send jwt","requestID":"c2286fb2fd6e2c88d2ac8929819df3f2"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"c2286fb2fd6e2c88d2ac8929819df3f2","responseTime":2,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0","requestID":"c2286fb2fd6e2c88d2ac8929819df3f2"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":798,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":798,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.667818,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:36Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"c2286fb2fd6e2c88d2ac8929819df3f2","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836356,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1Nn0.LSju7JjnUSs8503S4zdQBpk40LoGJYPAnq0ujbbEgN8"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"c2286fb2fd6e2c88d2ac8929819df3f2","responseTime":2,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0"},"level":"info","message":"Attempting to finish experiment","requestID":"c2286fb2fd6e2c88d2ac8929819df3f2"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"aab96b30-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":799,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":799,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.63385,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:36Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/5f25afef-c2ab-464e-98f4-4e3dcab48e64","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"aab96b30-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/5f25afef-c2ab-464e-98f4-4e3dcab48e64","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836356,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1Nn0.LSju7JjnUSs8503S4zdQBpk40LoGJYPAnq0ujbbEgN8"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"aab96b30-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"device":"71099197-b0b5-41bb-8193-e653b937d51e","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":"71099197-b0b5-41bb-8193-e653b937d51e","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":"71099197-b0b5-41bb-8193-e653b937d51e","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":"36709a51-12af-4bd8-9fe7-de2ba6e5d743","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":"36709a51-12af-4bd8-9fe7-de2ba6e5d743","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":"36709a51-12af-4bd8-9fe7-de2ba6e5d743","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/5f25afef-c2ab-464e-98f4-4e3dcab48e64' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/5f25afef-c2ab-464e-98f4-4e3dcab48e64' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"5f25afef-c2ab-464e-98f4-4e3dcab48e64","statusDeviceA":"closed","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F5f25afef-c2ab-464e-98f4-4e3dcab48e64': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F5f25afef-c2ab-464e-98f4-4e3dcab48e64","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"57f2fd71-68e0-4654-a1b3-d6abf1996cec","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836356.4641442} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ebb9c055-1a76-4f44-a0b7-21e01c72ccee","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836356.4644804} authorization-1 | {"level":"info","message":"POST /relations/update 200 7ms","method":"POST","requestID":"aab96b30-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/relations/update"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"34a12b7b4992505f15b497258a169a88","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"34a12b7b4992505f15b497258a169a88","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"a2c7ddb58c3c9430ce89be054e669cec","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/71099197-b0b5-41bb-8193-e653b937d51e"},{"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/36709a51-12af-4bd8-9fe7-de2ba6e5d743"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/5f25afef-c2ab-464e-98f4-4e3dcab48e64"}}},"level":"info","message":"received a callback","requestID":"34a12b7b4992505f15b497258a169a88"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"a2c7ddb58c3c9430ce89be054e669cec","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/71099197-b0b5-41bb-8193-e653b937d51e"},{"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/36709a51-12af-4bd8-9fe7-de2ba6e5d743"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/5f25afef-c2ab-464e-98f4-4e3dcab48e64"}}},"level":"info","message":"received a callback","requestID":"a2c7ddb58c3c9430ce89be054e669cec"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"aab96b30-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/5f25afef-c2ab-464e-98f4-4e3dcab48e64 204 41ms","method":"DELETE","requestID":"aab96b30-651d-11ef-83ce-bd5a3df00b5c","responseTime":41,"status":204,"url":"/peerconnections/5f25afef-c2ab-464e-98f4-4e3dcab48e64"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743'"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0"},"level":"info","message":"Successfully finished experiment","requestID":"c2286fb2fd6e2c88d2ac8929819df3f2"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"aac35640-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":800,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:36Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F71099197-b0b5-41bb-8193-e653b937d51e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8b7fc0d4-c7e8-4712-80ab-701ba29be8e3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836356.5199492} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":800,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.405822,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"aac35640-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/71099197-b0b5-41bb-8193-e653b937d51e","object_type":"device","rebac_allow":false,"scope_allow":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":"aac35640-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"aac35640-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/71099197-b0b5-41bb-8193-e653b937d51e/signaling 200 8ms","method":"POST","requestID":"aac35640-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/71099197-b0b5-41bb-8193-e653b937d51e/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"aac4dce0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":801,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:36Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F36709a51-12af-4bd8-9fe7-de2ba6e5d743","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"89587cbe-3c03-4157-a135-13f51021f91e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836356.5301652} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":801,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.470401,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:36Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"aac4dce0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"aac4dce0-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F2dca8898-5679-4ec0-bd92-b3c83854b8a0': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F2dca8898-5679-4ec0-bd92-b3c83854b8a0","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"1654836c-609e-495e-823d-3144ceb17d41","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836356.5326009} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"81f6145d-0f33-482c-b2d3-813e739853c9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836356.5328598} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"c2286fb2fd6e2c88d2ac8929819df3f2","responseTime":20,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"aac4dce0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743/signaling 200 10ms","method":"POST","requestID":"aac4dce0-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/36709a51-12af-4bd8-9fe7-de2ba6e5d743/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0","requestID":"c2286fb2fd6e2c88d2ac8929819df3f2"} gateway-1 | {"time_local":"28/Aug/2024:09:12:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0 HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.152","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"c2286fb2fd6e2c88d2ac8929819df3f2"} experiment-1 | {"level":"info","message":"DELETE /experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0 204 150ms","method":"DELETE","requestID":"c2286fb2fd6e2c88d2ac8929819df3f2","responseTime":150,"status":204,"url":"/experiments/2dca8898-5679-4ec0-bd92-b3c83854b8a0"} gateway-1 | {"time_local":"28/Aug/2024:09:12:36 +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.602","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"4a0e17c471417aa08085fca3e5989954"} gateway-1 | {"time_local":"28/Aug/2024:09:12:36 +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.593","http_referrer":"","http_user_agent":"Python/3.10 aiohttp/3.10.5","requestID":"d4a035955011ae08f130df8fb894815b"} gateway-1 | {"time_local":"28/Aug/2024:09:12:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.131","http_referrer":"","http_user_agent":"node-fetch","requestID":"34a12b7b4992505f15b497258a169a88"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 126ms","method":"POST","requestID":"34a12b7b4992505f15b497258a169a88","responseTime":127,"status":200,"url":"/callbacks/experiment"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 127ms","method":"POST","requestID":"a2c7ddb58c3c9430ce89be054e669cec","responseTime":127,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:36 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.131","http_referrer":"","http_user_agent":"node-fetch","requestID":"a2c7ddb58c3c9430ce89be054e669cec"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1Nn0.LSju7JjnUSs8503S4zdQBpk40LoGJYPAnq0ujbbEgN8","level":"info","message":"auth send jwt","requestID":"d09a8cdd7e5666b61acfc5eb34a8c130"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"d09a8cdd7e5666b61acfc5eb34a8c130","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/36709a51-12af-4bd8-9fe7-de2ba6e5d743' closed"} device-1 | {"level":"info","message":"postDevices called","requestID":"d09a8cdd7e5666b61acfc5eb34a8c130"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":802,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":802,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.968501,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"d09a8cdd7e5666b61acfc5eb34a8c130","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836356,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1Nn0.LSju7JjnUSs8503S4zdQBpk40LoGJYPAnq0ujbbEgN8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"d09a8cdd7e5666b61acfc5eb34a8c130","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/71099197-b0b5-41bb-8193-e653b937d51e' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F386864ba-7d89-4804-b0c1-d6305a526092","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"367216f7-5b8c-4f58-84f3-198ee3c76445","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836356.624734} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d09a8cdd7e5666b61acfc5eb34a8c130","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"9d5bd860-1138-4f4d-8004-26efea4995e2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836356.631696} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"d09a8cdd7e5666b61acfc5eb34a8c130","responseTime":5,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F386864ba-7d89-4804-b0c1-d6305a526092","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"6c81dfb7-9dd7-4640-b5c8-0b7bbfbd7707","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836356.6414561} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ce60e7d4-4225-400b-b735-71ab3e406d89","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836356.641719} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"d09a8cdd7e5666b61acfc5eb34a8c130","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F386864ba-7d89-4804-b0c1-d6305a526092","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F386864ba-7d89-4804-b0c1-d6305a526092","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:36.641419763Z"}]},"request_id":"36b387d2-b603-40b7-afaa-380938d36f5c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836356.6464183} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d09a8cdd7e5666b61acfc5eb34a8c130","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"d09a8cdd7e5666b61acfc5eb34a8c130"} gateway-1 | {"time_local":"28/Aug/2024:09:12:36 +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":"d09a8cdd7e5666b61acfc5eb34a8c130"} device-1 | {"level":"info","message":"POST /devices? 201 48ms","method":"POST","requestID":"d09a8cdd7e5666b61acfc5eb34a8c130","responseTime":48,"status":201,"url":"/devices?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1Nn0.LSju7JjnUSs8503S4zdQBpk40LoGJYPAnq0ujbbEgN8","level":"info","message":"auth send jwt","requestID":"be47107d020614b4a6eaca052ade26ca"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"be47107d020614b4a6eaca052ade26ca","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"be47107d020614b4a6eaca052ade26ca"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":803,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:36Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":803,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.783663,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:36Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"be47107d020614b4a6eaca052ade26ca","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836356,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1Nn0.LSju7JjnUSs8503S4zdQBpk40LoGJYPAnq0ujbbEgN8"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"be47107d020614b4a6eaca052ade26ca","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"9384126a-a89c-45df-8cef-e1463053f3ed","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836356.6709242} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"be47107d020614b4a6eaca052ade26ca","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"25cab708-1d59-4e18-a835-50fc2b877fe3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836356.6757329} authorization-1 | {"level":"info","message":"POST /relations/update 200 4ms","method":"POST","requestID":"be47107d020614b4a6eaca052ade26ca","responseTime":4,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"05cecb16-f333-471b-af45-2e66202bda92","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836356.6919093} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"842fb7b2-5a07-414c-a237-0a8c7327599d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836356.6921422} authorization-1 | {"level":"info","message":"POST /relations/update 200 18ms","method":"POST","requestID":"be47107d020614b4a6eaca052ade26ca","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:36.691880158Z"}]},"request_id":"4387135b-c477-4ff1-844b-1d50be7553ea","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836356.6969147} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"be47107d020614b4a6eaca052ade26ca","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"be47107d020614b4a6eaca052ade26ca"} gateway-1 | {"time_local":"28/Aug/2024:09:12:36 +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":"be47107d020614b4a6eaca052ade26ca"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"be47107d020614b4a6eaca052ade26ca","responseTime":45,"status":201,"url":"/devices?"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"538c69687dd1b35094259ecd9e187661","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"538c69687dd1b35094259ecd9e187661","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:12:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5/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":"538c69687dd1b35094259ecd9e187661"} device-1 | {"level":"info","message":"OPTIONS /devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5/websocket 200 1ms","method":"OPTIONS","requestID":"538c69687dd1b35094259ecd9e187661","responseTime":1,"status":200,"url":"/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OH0.0BOu1xp3cYV2iaTpx3riKNvIBFUEf2DfCfKWMqCkLno","level":"info","message":"auth send jwt","requestID":"d86bce7be448e1de44018b963d9479c5"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"d86bce7be448e1de44018b963d9479c5","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"d86bce7be448e1de44018b963d9479c5"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":804,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":804,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.966271,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"d86bce7be448e1de44018b963d9479c5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836358,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OH0.0BOu1xp3cYV2iaTpx3riKNvIBFUEf2DfCfKWMqCkLno"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d86bce7be448e1de44018b963d9479c5","responseTime":3,"status":200,"url":"/authorize"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"786ef7d5a2a4b026d289ea4e61d1ef9b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"786ef7d5a2a4b026d289ea4e61d1ef9b","responseTime":1,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:12:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/386864ba-7d89-4804-b0c1-d6305a526092/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":"786ef7d5a2a4b026d289ea4e61d1ef9b"} device-1 | {"level":"info","message":"OPTIONS /devices/386864ba-7d89-4804-b0c1-d6305a526092/websocket 200 1ms","method":"OPTIONS","requestID":"786ef7d5a2a4b026d289ea4e61d1ef9b","responseTime":1,"status":200,"url":"/devices/386864ba-7d89-4804-b0c1-d6305a526092/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OH0.0BOu1xp3cYV2iaTpx3riKNvIBFUEf2DfCfKWMqCkLno","level":"info","message":"auth send jwt","requestID":"c864e0966d6f6242fb4fa323e98f4bc6"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"c864e0966d6f6242fb4fa323e98f4bc6","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"c864e0966d6f6242fb4fa323e98f4bc6"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":805,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":805,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.162624,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"c864e0966d6f6242fb4fa323e98f4bc6","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836358,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OH0.0BOu1xp3cYV2iaTpx3riKNvIBFUEf2DfCfKWMqCkLno"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"c864e0966d6f6242fb4fa323e98f4bc6","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"d86bce7be448e1de44018b963d9479c5"} gateway-1 | {"time_local":"28/Aug/2024:09:12:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.044","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"d86bce7be448e1de44018b963d9479c5"} device-1 | {"level":"info","message":"POST /devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5/websocket 200 40ms","method":"POST","requestID":"d86bce7be448e1de44018b963d9479c5","responseTime":40,"status":200,"url":"/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5/websocket"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"c864e0966d6f6242fb4fa323e98f4bc6"} gateway-1 | {"time_local":"28/Aug/2024:09:12:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/386864ba-7d89-4804-b0c1-d6305a526092/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.043","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"c864e0966d6f6242fb4fa323e98f4bc6"} device-1 | {"level":"info","message":"POST /devices/386864ba-7d89-4804-b0c1-d6305a526092/websocket 200 40ms","method":"POST","requestID":"c864e0966d6f6242fb4fa323e98f4bc6","responseTime":40,"status":200,"url":"/devices/386864ba-7d89-4804-b0c1-d6305a526092/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5' connected"} device-1 | {"level":"info","message":"device 'http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OH0.0BOu1xp3cYV2iaTpx3riKNvIBFUEf2DfCfKWMqCkLno","level":"info","message":"auth send jwt","requestID":"a7d52ca3d49ba373edf264e4bbb060c4"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"a7d52ca3d49ba373edf264e4bbb060c4","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"a7d52ca3d49ba373edf264e4bbb060c4"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":806,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":806,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.64559,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a7d52ca3d49ba373edf264e4bbb060c4","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836358,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OH0.0BOu1xp3cYV2iaTpx3riKNvIBFUEf2DfCfKWMqCkLno"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a7d52ca3d49ba373edf264e4bbb060c4","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F386864ba-7d89-4804-b0c1-d6305a526092","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F386864ba-7d89-4804-b0c1-d6305a526092","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:36.641419763Z"}]},"request_id":"26678952-04a9-4cca-bd54-c3ed9ca9f94c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836358.754008} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a7d52ca3d49ba373edf264e4bbb060c4","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"a7d52ca3d49ba373edf264e4bbb060c4"} gateway-1 | {"time_local":"28/Aug/2024:09:12:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/386864ba-7d89-4804-b0c1-d6305a526092? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a7d52ca3d49ba373edf264e4bbb060c4"} device-1 | {"level":"info","message":"GET /devices/386864ba-7d89-4804-b0c1-d6305a526092? 200 9ms","method":"GET","requestID":"a7d52ca3d49ba373edf264e4bbb060c4","responseTime":9,"status":200,"url":"/devices/386864ba-7d89-4804-b0c1-d6305a526092?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OH0.0BOu1xp3cYV2iaTpx3riKNvIBFUEf2DfCfKWMqCkLno","level":"info","message":"auth send jwt","requestID":"6f405f446fdf740f29bfea67044cd1c5"} authentication-1 | {"level":"info","message":"GET /auth 200 2ms","method":"GET","requestID":"6f405f446fdf740f29bfea67044cd1c5","responseTime":2,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"6f405f446fdf740f29bfea67044cd1c5"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":807,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":807,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.698631,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"6f405f446fdf740f29bfea67044cd1c5","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836358,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OH0.0BOu1xp3cYV2iaTpx3riKNvIBFUEf2DfCfKWMqCkLno"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"6f405f446fdf740f29bfea67044cd1c5","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:36.691880158Z"}]},"request_id":"a538d812-487d-41b8-ba3f-96cbce297a32","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836358.7676535} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"6f405f446fdf740f29bfea67044cd1c5","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"6f405f446fdf740f29bfea67044cd1c5"} gateway-1 | {"time_local":"28/Aug/2024:09:12:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"6f405f446fdf740f29bfea67044cd1c5"} device-1 | {"level":"info","message":"GET /devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5? 200 9ms","method":"GET","requestID":"6f405f446fdf740f29bfea67044cd1c5","responseTime":9,"status":200,"url":"/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OH0.0BOu1xp3cYV2iaTpx3riKNvIBFUEf2DfCfKWMqCkLno","level":"info","message":"auth send jwt","requestID":"27b62097d604d6b16b703c7998e482d1"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"27b62097d604d6b16b703c7998e482d1","responseTime":4,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"27b62097d604d6b16b703c7998e482d1"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":808,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":808,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.794585,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"27b62097d604d6b16b703c7998e482d1","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836358,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OH0.0BOu1xp3cYV2iaTpx3riKNvIBFUEf2DfCfKWMqCkLno"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"27b62097d604d6b16b703c7998e482d1","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb"},"level":"info","message":"Attempting to run experiment","requestID":"27b62097d604d6b16b703c7998e482d1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb"},"level":"info","message":"Attempting to book experiment","requestID":"27b62097d604d6b16b703c7998e482d1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb"},"level":"info","message":"Successfully booked experiment","requestID":"27b62097d604d6b16b703c7998e482d1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ac238280-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ac23a990-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":809,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":809,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.862101,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":810,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ac238280-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836358,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OH0.0BOu1xp3cYV2iaTpx3riKNvIBFUEf2DfCfKWMqCkLno"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ac238280-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":810,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.761373,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ac23a990-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836358,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OH0.0BOu1xp3cYV2iaTpx3riKNvIBFUEf2DfCfKWMqCkLno"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ac23a990-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F386864ba-7d89-4804-b0c1-d6305a526092","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F386864ba-7d89-4804-b0c1-d6305a526092","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:36.641419763Z"}]},"request_id":"a12c6d6f-5768-4028-a8cc-beeaa667095c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836358.8331745} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ac238280-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:36.691880158Z"}]},"request_id":"b5f0dc58-31e4-4194-b68e-9c2d3ae8e49f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836358.8344066} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"ac23a990-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ac238280-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/386864ba-7d89-4804-b0c1-d6305a526092? 200 15ms","method":"GET","requestID":"ac238280-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/devices/386864ba-7d89-4804-b0c1-d6305a526092?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ac23a990-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5? 200 15ms","method":"GET","requestID":"ac23a990-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb"},"level":"info","message":"Setting up experiment","requestID":"27b62097d604d6b16b703c7998e482d1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"27b62097d604d6b16b703c7998e482d1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb"},"level":"info","message":"Successfully locked booking for experiment","requestID":"27b62097d604d6b16b703c7998e482d1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"27b62097d604d6b16b703c7998e482d1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"27b62097d604d6b16b703c7998e482d1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb"},"level":"info","message":"Attempting to update booking for experiment","requestID":"27b62097d604d6b16b703c7998e482d1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb"},"level":"info","message":"Successfully updated booking for experiment","requestID":"27b62097d604d6b16b703c7998e482d1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb"},"level":"info","message":"Successfully set up experiment","requestID":"27b62097d604d6b16b703c7998e482d1"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ac2ea610-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"ac2ecd20-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":811,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:38Z"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ac2f1b40-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":811,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.932144,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:38Z"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb"},"level":"info","message":"Successfully running experiment","requestID":"27b62097d604d6b16b703c7998e482d1"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":812,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ac2ea610-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836358,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OH0.0BOu1xp3cYV2iaTpx3riKNvIBFUEf2DfCfKWMqCkLno"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ac2ea610-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":812,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.823336,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ac2ecd20-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836358,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OH0.0BOu1xp3cYV2iaTpx3riKNvIBFUEf2DfCfKWMqCkLno"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"ac2ecd20-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":813,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F386864ba-7d89-4804-b0c1-d6305a526092","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e6d5c591-fa91-4e0f-8555-d14f73d4e62f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836358.9056492} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:36.691880158Z"}]},"request_id":"5433c82e-70f6-4424-969d-0ebea2a71d13","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836358.9081159} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":813,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.665572,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ac2f1b40-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092","object_type":"device","rebac_allow":false,"scope_allow":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":"ac2f1b40-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ac2ecd20-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F386864ba-7d89-4804-b0c1-d6305a526092","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F386864ba-7d89-4804-b0c1-d6305a526092","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:36.641419763Z"}]},"request_id":"d319d1fc-9b67-433d-bbe7-62b1ecb53cb4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836358.9088192} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"ac2ea610-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ac2f1b40-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/386864ba-7d89-4804-b0c1-d6305a526092/signaling 200 15ms","method":"POST","requestID":"ac2f1b40-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/devices/386864ba-7d89-4804-b0c1-d6305a526092/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ac2ecd20-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5? 200 18ms","method":"GET","requestID":"ac2ecd20-651d-11ef-83ce-bd5a3df00b5c","responseTime":18,"status":200,"url":"/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"ac2ea610-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/386864ba-7d89-4804-b0c1-d6305a526092? 200 20ms","method":"GET","requestID":"ac2ea610-651d-11ef-83ce-bd5a3df00b5c","responseTime":20,"status":200,"url":"/devices/386864ba-7d89-4804-b0c1-d6305a526092?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ac31da60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ac322880-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ffe6fb979-1611-498b-a93b-e4f7aac4efdb#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ffe6fb979-1611-498b-a93b-e4f7aac4efdb","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"0de88d4e-fe68-485c-8e6e-f2ae735f2c2e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836358.9196908} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"a938d135-d629-4b41-ae6f-d6d139574dc0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836358.9199407} authorization-1 | {"level":"info","message":"POST /relations/update 200 17ms","method":"POST","requestID":"27b62097d604d6b16b703c7998e482d1","responseTime":17,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":814,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"2a92e4cb-a534-4355-a808-5fb6b2c90ea4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836358.9234455} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":815,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":814,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.245274,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ac31da60-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ac31da60-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F386864ba-7d89-4804-b0c1-d6305a526092","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"5edc54f3-5599-486c-aa59-ab230b0a1156","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836358.9262478} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":815,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.120074,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ac322880-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092","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/fe6fb979-1611-498b-a93b-e4f7aac4efdb","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"27b62097d604d6b16b703c7998e482d1"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ac31da60-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ac322880-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"POST /devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5/signaling 200 11ms","method":"POST","requestID":"ac31da60-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5/signaling"} gateway-1 | {"time_local":"28/Aug/2024:09:12:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"807","request_time":"0.157","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"27b62097d604d6b16b703c7998e482d1"} experiment-1 | {"level":"info","message":"POST /experiments? 201 152ms","method":"POST","requestID":"27b62097d604d6b16b703c7998e482d1","responseTime":152,"status":201,"url":"/experiments?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ac322880-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/386864ba-7d89-4804-b0c1-d6305a526092/signaling 200 12ms","method":"POST","requestID":"ac322880-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/386864ba-7d89-4804-b0c1-d6305a526092/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OH0.0BOu1xp3cYV2iaTpx3riKNvIBFUEf2DfCfKWMqCkLno","level":"info","message":"auth send jwt","requestID":"7c777510652d77f8c65da4c2bee4f5ff"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"7c777510652d77f8c65da4c2bee4f5ff","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ac344b60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"7c777510652d77f8c65da4c2bee4f5ff"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":816,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":817,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"790ce7d6-6d75-49ad-ab1b-4dfe4a72f42a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836358.9399977} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":817,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.072842,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"7c777510652d77f8c65da4c2bee4f5ff","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836358,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OH0.0BOu1xp3cYV2iaTpx3riKNvIBFUEf2DfCfKWMqCkLno"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"7c777510652d77f8c65da4c2bee4f5ff","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":816,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":3.293425,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ac344b60-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"ac344b60-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F386864ba-7d89-4804-b0c1-d6305a526092","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F386864ba-7d89-4804-b0c1-d6305a526092","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:36.641419763Z"}]},"request_id":"af8a5c53-d27c-41ed-8b7d-462dddf2260a","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836358.944624} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ac344b60-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5/signaling 200 11ms","method":"POST","requestID":"ac344b60-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5/signaling"} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"7c777510652d77f8c65da4c2bee4f5ff","responseTime":2,"status":200,"url":"/relations/query"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"27b62097d604d6b16b703c7998e482d1"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb"},"level":"info","message":"Building connection plan","requestID":"27b62097d604d6b16b703c7998e482d1"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"ac2746b7-1070-4449-bcd2-bb895e1dd9da"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"d59efde8-092f-4071-9178-9bad9bf508b9"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"218cde97-a4b8-48d6-be05-0c8e9f3ec5bc"}]},"level":"info","message":"Built pairwise service configurations","requestID":"27b62097d604d6b16b703c7998e482d1"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"27b62097d604d6b16b703c7998e482d1"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"7c777510652d77f8c65da4c2bee4f5ff"} gateway-1 | {"time_local":"28/Aug/2024:09:12:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/386864ba-7d89-4804-b0c1-d6305a526092? 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":"7c777510652d77f8c65da4c2bee4f5ff"} device-1 | {"level":"info","message":"GET /devices/386864ba-7d89-4804-b0c1-d6305a526092? 200 12ms","method":"GET","requestID":"7c777510652d77f8c65da4c2bee4f5ff","responseTime":12,"status":200,"url":"/devices/386864ba-7d89-4804-b0c1-d6305a526092?"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"ac369550-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":818,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:38Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OH0.0BOu1xp3cYV2iaTpx3riKNvIBFUEf2DfCfKWMqCkLno","level":"info","message":"auth send jwt","requestID":"b0e8890bfeb16b12fdb3aaba5030c5bb"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":818,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.978512,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:38Z"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"b0e8890bfeb16b12fdb3aaba5030c5bb","responseTime":3,"status":200,"url":"/auth"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ac369550-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836358,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OH0.0BOu1xp3cYV2iaTpx3riKNvIBFUEf2DfCfKWMqCkLno"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b0e8890bfeb16b12fdb3aaba5030c5bb"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"ac369550-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":819,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":819,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.676253,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:38Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b0e8890bfeb16b12fdb3aaba5030c5bb","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836358,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OH0.0BOu1xp3cYV2iaTpx3riKNvIBFUEf2DfCfKWMqCkLno"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"b0e8890bfeb16b12fdb3aaba5030c5bb","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:36.691880158Z"}]},"request_id":"9c9490d9-9c33-4853-8deb-9dda0c952964","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836358.959711} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"b0e8890bfeb16b12fdb3aaba5030c5bb","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b0e8890bfeb16b12fdb3aaba5030c5bb"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"1c734c07-996b-4982-98f5-bee23a60911d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836358.963305} gateway-1 | {"time_local":"28/Aug/2024:09:12:38 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5? 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":"b0e8890bfeb16b12fdb3aaba5030c5bb"} device-1 | {"level":"info","message":"GET /devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5? 200 10ms","method":"GET","requestID":"b0e8890bfeb16b12fdb3aaba5030c5bb","responseTime":10,"status":200,"url":"/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5?"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"abda7591-8830-4440-ac1a-188e288c4d69","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836358.9635887} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"ac369550-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"ac369550-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"ac369550-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e'","requestID":"ac369550-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e'","requestID":"ac369550-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"ac369550-651d-11ef-83ce-bd5a3df00b5c"} 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":"ac369550-651d-11ef-83ce-bd5a3df00b5c","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":"ac369550-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e","device":"d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","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} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e","device":"386864ba-7d89-4804-b0c1-d6305a526092","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/fe6fb979-1611-498b-a93b-e4f7aac4efdb"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"27b62097d604d6b16b703c7998e482d1"} device-1 | {"device":"386864ba-7d89-4804-b0c1-d6305a526092","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"386864ba-7d89-4804-b0c1-d6305a526092","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"device":"d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ac41dff0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":820,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F386864ba-7d89-4804-b0c1-d6305a526092","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0f9d7d47-33d9-44d7-8b3b-3fd3e681a58f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.0274363} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":820,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.560248,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ac41dff0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"ac41dff0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"content":{"sdp":"v=0\r\no=- 2221710764377609731 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:VY1b\r\na=ice-pwd:vYMlNYqvGXRvE39MMNm7A+zN\r\na=ice-options:trickle\r\na=fingerprint:sha-256 CF:BB:4F:B3:23:DF:4D:1A:E3:14:75:60:E0:64:DA:3C:69:7C:54:06:21:F4:FE:EC:00:03:25:77:D3:9B:85:0C\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ac41dff0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/386864ba-7d89-4804-b0c1-d6305a526092/signaling 200 10ms","method":"POST","requestID":"ac41dff0-651d-11ef-83ce-bd5a3df00b5c","responseTime":10,"status":200,"url":"/devices/386864ba-7d89-4804-b0c1-d6305a526092/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ac43b4b0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":821,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"b876879a-a3f5-43bd-b785-a4bc3da6edb0","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.0397558} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":821,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.485032,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ac43b4b0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","object_type":"device","rebac_allow":false,"scope_allow":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":"ac43b4b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"content":{"sdp":"v=0\r\no=- 7153669057239342044 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:zJW5\r\na=ice-pwd:XpKY6sDbGHr9NGG5s/psMAlK\r\na=ice-options:trickle\r\na=fingerprint:sha-256 FF:5C:99:A1:48:9E:E5:5B:46:DA:E5:0D:E0:85:8A:D5:C9:A1:A1:70:79:62:75:27:7D:55:2D:5A:42:F0:CF:28\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"386864ba-7d89-4804-b0c1-d6305a526092","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:1827524594 1 udp 2113937151 907d4ab5-a420-4722-96d9-35c7942d79d6.local 59522 typ host generation 0 ufrag zJW5 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"386864ba-7d89-4804-b0c1-d6305a526092","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/386864ba-7d89-4804-b0c1-d6305a526092'"} device-1 | {"content":{"candidate":"candidate:1776664746 1 udp 1677729535 141.24.211.56 59522 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag zJW5 network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"386864ba-7d89-4804-b0c1-d6305a526092","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ac43b4b0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5/signaling 200 11ms","method":"POST","requestID":"ac43b4b0-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5/signaling"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092'"} device-1 | {"content":{"candidate":"candidate:1502936593 1 udp 2113937151 27a0f777-b2a2-4bde-bcea-911d69775ab6.local 44024 typ host generation 0 ufrag VY1b network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:1553789257 1 udp 1677729535 141.24.211.56 44024 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag VY1b network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","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/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5'"} device-1 | {"device":"d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"386864ba-7d89-4804-b0c1-d6305a526092","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/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"725edd27-2c86-4da2-b7fa-7ef1f08d1c8e","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"386864ba-7d89-4804-b0c1-d6305a526092","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","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":"dd5e0dc6ea3466dba9d2ebdd4f4e7e56","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"dd5e0dc6ea3466dba9d2ebdd4f4e7e56","responseTime":2,"status":200,"url":"/auth"} device-1 | {"device":"386864ba-7d89-4804-b0c1-d6305a526092","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} experiment-1 | {"data":{"callback":{"callbackType":"event","eventType":"peerconnection-status-changed","peerconnection":{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e"}}},"level":"info","message":"received a callback","requestID":"dd5e0dc6ea3466dba9d2ebdd4f4e7e56"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 5ms","method":"POST","requestID":"dd5e0dc6ea3466dba9d2ebdd4f4e7e56","responseTime":5,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12: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.008","http_referrer":"","http_user_agent":"node-fetch","requestID":"dd5e0dc6ea3466dba9d2ebdd4f4e7e56"} device-1 | {"device":"386864ba-7d89-4804-b0c1-d6305a526092","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"725edd27-2c86-4da2-b7fa-7ef1f08d1c8e","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"725edd27-2c86-4da2-b7fa-7ef1f08d1c8e","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/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"725edd27-2c86-4da2-b7fa-7ef1f08d1c8e","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"dfaa84554c448828d23df4f77a0915bb","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"dfaa84554c448828d23df4f77a0915bb","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/386864ba-7d89-4804-b0c1-d6305a526092"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e"}}},"level":"info","message":"received a callback","requestID":"dfaa84554c448828d23df4f77a0915bb"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"ac5085f0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":822,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F725edd27-2c86-4da2-b7fa-7ef1f08d1c8e","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"79a1604b-e874-45ef-bc8b-bfdb6ccc49c8","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.123296} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":822,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.143659,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ac5085f0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e","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":"ac5085f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"ac5085f0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e 200 7ms","method":"GET","requestID":"ac5085f0-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/peerconnections/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 28ms","method":"POST","requestID":"dfaa84554c448828d23df4f77a0915bb","responseTime":28,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12: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.031","http_referrer":"","http_user_agent":"node-fetch","requestID":"dfaa84554c448828d23df4f77a0915bb"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ac542f70-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":823,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F386864ba-7d89-4804-b0c1-d6305a526092","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"21714c35-c907-4a38-86d1-9d848f939694","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.1475008} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":823,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.064769,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ac542f70-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092","object_type":"device","rebac_allow":false,"scope_allow":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":"ac542f70-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ac542f70-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/386864ba-7d89-4804-b0c1-d6305a526092/signaling 200 8ms","method":"POST","requestID":"ac542f70-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/386864ba-7d89-4804-b0c1-d6305a526092/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ac558f00-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":824,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"d51fe925-6baf-4ca7-b693-8ac988c18de7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.156426} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":824,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.143476,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ac558f00-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","object_type":"device","rebac_allow":false,"scope_allow":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":"ac558f00-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ac558f00-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5/signaling 200 8ms","method":"POST","requestID":"ac558f00-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5/signaling"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OX0.criydzmpEuKYDN0I4YgLJWpPBLNxCXtEt6pbN1FOrho","level":"info","message":"auth send jwt","requestID":"1a6723d6394c3aafac28ae29afac3b45"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"1a6723d6394c3aafac28ae29afac3b45","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb","requestID":"1a6723d6394c3aafac28ae29afac3b45"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":825,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":825,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":1.212407,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"1a6723d6394c3aafac28ae29afac3b45","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836359,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OX0.criydzmpEuKYDN0I4YgLJWpPBLNxCXtEt6pbN1FOrho"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"1a6723d6394c3aafac28ae29afac3b45","responseTime":4,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb","requestID":"1a6723d6394c3aafac28ae29afac3b45"} gateway-1 | {"time_local":"28/Aug/2024:09:12:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb 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":"1a6723d6394c3aafac28ae29afac3b45"} experiment-1 | {"level":"info","message":"GET /experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb 200 9ms","method":"GET","requestID":"1a6723d6394c3aafac28ae29afac3b45","responseTime":9,"status":200,"url":"/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OX0.criydzmpEuKYDN0I4YgLJWpPBLNxCXtEt6pbN1FOrho","level":"info","message":"auth send jwt","requestID":"84c84a43bd5cc6d8f7c7f86ba0934d7d"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"84c84a43bd5cc6d8f7c7f86ba0934d7d","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb","requestID":"84c84a43bd5cc6d8f7c7f86ba0934d7d"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":826,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":826,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.677842,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"84c84a43bd5cc6d8f7c7f86ba0934d7d","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836359,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OX0.criydzmpEuKYDN0I4YgLJWpPBLNxCXtEt6pbN1FOrho"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"84c84a43bd5cc6d8f7c7f86ba0934d7d","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb"},"level":"info","message":"Attempting to finish experiment","requestID":"84c84a43bd5cc6d8f7c7f86ba0934d7d"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"ac5ba980-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":827,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":827,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":0.630502,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ac5ba980-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836359,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OX0.criydzmpEuKYDN0I4YgLJWpPBLNxCXtEt6pbN1FOrho"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"ac5ba980-651d-11ef-83ce-bd5a3df00b5c","responseTime":2,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e","device":"386864ba-7d89-4804-b0c1-d6305a526092","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e","device":"d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","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/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"725edd27-2c86-4da2-b7fa-7ef1f08d1c8e","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"fe56f355f4350adc1a74d26310f4872e","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"fe56f355f4350adc1a74d26310f4872e","responseTime":1,"status":200,"url":"/auth"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F725edd27-2c86-4da2-b7fa-7ef1f08d1c8e': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F725edd27-2c86-4da2-b7fa-7ef1f08d1c8e","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"c2844049-ef50-4b3f-b704-b14469a1afb2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.205021} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"442babae-d63e-44cf-a242-7d8221cbb018","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.2053366} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"88c1c4e798c763f27da39044e3e438ec","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/386864ba-7d89-4804-b0c1-d6305a526092"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e"}}},"level":"info","message":"received a callback","requestID":"fe56f355f4350adc1a74d26310f4872e"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"88c1c4e798c763f27da39044e3e438ec","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/386864ba-7d89-4804-b0c1-d6305a526092"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e"}}},"level":"info","message":"received a callback","requestID":"88c1c4e798c763f27da39044e3e438ec"} authorization-1 | {"level":"info","message":"POST /relations/update 200 8ms","method":"POST","requestID":"ac5ba980-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/relations/update"} device-1 | {"data":{"peerconnection":"725edd27-2c86-4da2-b7fa-7ef1f08d1c8e","statusDeviceA":"closed","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"ac5ba980-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e 204 34ms","method":"DELETE","requestID":"ac5ba980-651d-11ef-83ce-bd5a3df00b5c","responseTime":34,"status":204,"url":"/peerconnections/725edd27-2c86-4da2-b7fa-7ef1f08d1c8e"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb"},"level":"info","message":"Successfully finished experiment","requestID":"84c84a43bd5cc6d8f7c7f86ba0934d7d"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ac640df0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":828,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F386864ba-7d89-4804-b0c1-d6305a526092","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"0f9ab9d5-a141-4613-b176-8a508228f300","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.2511892} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":828,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.505917,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ac640df0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/386864ba-7d89-4804-b0c1-d6305a526092","object_type":"device","rebac_allow":false,"scope_allow":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":"ac640df0-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ac640df0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/386864ba-7d89-4804-b0c1-d6305a526092/signaling 200 8ms","method":"POST","requestID":"ac640df0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/386864ba-7d89-4804-b0c1-d6305a526092/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"ac656d80-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":829,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2Fd6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"4c23cb34-0ca6-4a0a-b814-6084288a6129","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.2604165} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":829,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.103305,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"ac656d80-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5","object_type":"device","rebac_allow":false,"scope_allow":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":"ac656d80-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"ac656d80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5/signaling 200 8ms","method":"POST","requestID":"ac656d80-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5/signaling"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ffe6fb979-1611-498b-a93b-e4f7aac4efdb': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2Ffe6fb979-1611-498b-a93b-e4f7aac4efdb","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"935a3858-6f04-4c5c-acef-703493328964","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.2648296} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"ebb99d29-488a-4b68-a581-204adc32928f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.2651598} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"84c84a43bd5cc6d8f7c7f86ba0934d7d","responseTime":20,"status":200,"url":"/relations/update"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb","requestID":"84c84a43bd5cc6d8f7c7f86ba0934d7d"} gateway-1 | {"time_local":"28/Aug/2024:09:12:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb HTTP/1.1","status": "204","body_bytes_sent":"0","request_time":"0.151","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"84c84a43bd5cc6d8f7c7f86ba0934d7d"} experiment-1 | {"level":"info","message":"DELETE /experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb 204 149ms","method":"DELETE","requestID":"84c84a43bd5cc6d8f7c7f86ba0934d7d","responseTime":149,"status":204,"url":"/experiments/fe6fb979-1611-498b-a93b-e4f7aac4efdb"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 127ms","method":"POST","requestID":"fe56f355f4350adc1a74d26310f4872e","responseTime":127,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12: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.130","http_referrer":"","http_user_agent":"node-fetch","requestID":"fe56f355f4350adc1a74d26310f4872e"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 127ms","method":"POST","requestID":"88c1c4e798c763f27da39044e3e438ec","responseTime":127,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12: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.131","http_referrer":"","http_user_agent":"node-fetch","requestID":"88c1c4e798c763f27da39044e3e438ec"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OX0.criydzmpEuKYDN0I4YgLJWpPBLNxCXtEt6pbN1FOrho","level":"info","message":"auth send jwt","requestID":"fd94d8c8146af25f1c0769d1ae7a4d50"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"fd94d8c8146af25f1c0769d1ae7a4d50","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"fd94d8c8146af25f1c0769d1ae7a4d50"} gateway-1 | {"time_local":"28/Aug/2024:09:12:39 +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.632","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"abe8efa11eb64fe5149bc9ca79c9bdea"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":830,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":830,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":1.023752,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"fd94d8c8146af25f1c0769d1ae7a4d50","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836359,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OX0.criydzmpEuKYDN0I4YgLJWpPBLNxCXtEt6pbN1FOrho"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"fd94d8c8146af25f1c0769d1ae7a4d50","responseTime":4,"status":200,"url":"/authorize"} gateway-1 | {"time_local":"28/Aug/2024:09:12:39 +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.626","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"0698b19db49512cf555a2a184d136a66"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/d6895c8c-fd09-4a48-b3e1-dcfd9e003bc5' 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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73d758b0-13a5-4627-852d-863d8fd18391","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"ea3aa4a1-1045-4908-ad0a-0211be151c48","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.3578293} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"fd94d8c8146af25f1c0769d1ae7a4d50","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c1eb11e6-ed80-45a0-af8c-4dd1cb13ba04","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.3620365} authorization-1 | {"level":"info","message":"POST /relations/update 200 3ms","method":"POST","requestID":"fd94d8c8146af25f1c0769d1ae7a4d50","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/386864ba-7d89-4804-b0c1-d6305a526092' closed"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73d758b0-13a5-4627-852d-863d8fd18391","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"aedbeed6-76b1-49eb-9590-eede951fd9ee","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.3805978} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c7d765c2-d16b-4f0f-a808-3761195847a3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.3806238} authorization-1 | {"level":"info","message":"POST /relations/update 200 20ms","method":"POST","requestID":"fd94d8c8146af25f1c0769d1ae7a4d50","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73d758b0-13a5-4627-852d-863d8fd18391","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73d758b0-13a5-4627-852d-863d8fd18391","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:39.380572606Z"}]},"request_id":"f7f0e513-5032-4823-bba2-cd9d9f4fcf95","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.3842888} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"fd94d8c8146af25f1c0769d1ae7a4d50","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"fd94d8c8146af25f1c0769d1ae7a4d50"} device-1 | {"level":"info","message":"POST /devices? 201 47ms","method":"POST","requestID":"fd94d8c8146af25f1c0769d1ae7a4d50","responseTime":47,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"28/Aug/2024:09:12:39 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices? HTTP/1.1","status": "201","body_bytes_sent":"315","request_time":"0.053","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"fd94d8c8146af25f1c0769d1ae7a4d50"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OX0.criydzmpEuKYDN0I4YgLJWpPBLNxCXtEt6pbN1FOrho","level":"info","message":"auth send jwt","requestID":"a0470251811d62c69eec764cd1f79442"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"a0470251811d62c69eec764cd1f79442","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevices called","requestID":"a0470251811d62c69eec764cd1f79442"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":831,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":831,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":599,"resp_duration":0.651395,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:39Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"device:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"a0470251811d62c69eec764cd1f79442","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:~~~TYPE~~~","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836359,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM1OX0.criydzmpEuKYDN0I4YgLJWpPBLNxCXtEt6pbN1FOrho"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"a0470251811d62c69eec764cd1f79442","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20452107-2ce1-435b-a136-0acdb7c929d5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[]},"request_id":"17b046d6-da93-4124-a26b-e1bee600a1d7","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.4120064} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"a0470251811d62c69eec764cd1f79442","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:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"35acb382-8f2f-43ec-a805-93f682e14560","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.41762} authorization-1 | {"level":"info","message":"POST /relations/update 200 2ms","method":"POST","requestID":"a0470251811d62c69eec764cd1f79442","responseTime":2,"status":200,"url":"/relations/update"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20452107-2ce1-435b-a136-0acdb7c929d5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"a9721917-fee8-4892-976f-9443cadac7e2","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.4312372} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"6edab106-2844-4f48-9d59-fad6ba39465b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.4315083} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"a0470251811d62c69eec764cd1f79442","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20452107-2ce1-435b-a136-0acdb7c929d5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20452107-2ce1-435b-a136-0acdb7c929d5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:39.431212864Z"}]},"request_id":"921b1be1-80c1-4bc7-8745-356ca008a22e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836359.435006} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"a0470251811d62c69eec764cd1f79442","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"postDevices succeeded","requestID":"a0470251811d62c69eec764cd1f79442"} device-1 | {"level":"info","message":"POST /devices? 201 45ms","method":"POST","requestID":"a0470251811d62c69eec764cd1f79442","responseTime":45,"status":201,"url":"/devices?"} gateway-1 | {"time_local":"28/Aug/2024:09:12: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.049","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"a0470251811d62c69eec764cd1f79442"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"371f6229cf3a44f503974cd21c46e7f3","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"371f6229cf3a44f503974cd21c46e7f3","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:12:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/20452107-2ce1-435b-a136-0acdb7c929d5/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":"371f6229cf3a44f503974cd21c46e7f3"} device-1 | {"level":"info","message":"OPTIONS /devices/20452107-2ce1-435b-a136-0acdb7c929d5/websocket 200 1ms","method":"OPTIONS","requestID":"371f6229cf3a44f503974cd21c46e7f3","responseTime":1,"status":200,"url":"/devices/20452107-2ce1-435b-a136-0acdb7c929d5/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2MX0.rkYqVamtXiV_qYOC4boDlprIoR7SHSVaiU36V7Ce_Ns","level":"info","message":"auth send jwt","requestID":"692b7b55840e489d046594feccc27a35"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"692b7b55840e489d046594feccc27a35","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"692b7b55840e489d046594feccc27a35"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":832,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:41Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":832,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.698136,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:41Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"692b7b55840e489d046594feccc27a35","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836361,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2MX0.rkYqVamtXiV_qYOC4boDlprIoR7SHSVaiU36V7Ce_Ns"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"692b7b55840e489d046594feccc27a35","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"692b7b55840e489d046594feccc27a35"} gateway-1 | {"time_local":"28/Aug/2024:09:12:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/20452107-2ce1-435b-a136-0acdb7c929d5/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":"692b7b55840e489d046594feccc27a35"} device-1 | {"level":"info","message":"POST /devices/20452107-2ce1-435b-a136-0acdb7c929d5/websocket 200 22ms","method":"POST","requestID":"692b7b55840e489d046594feccc27a35","responseTime":22,"status":200,"url":"/devices/20452107-2ce1-435b-a136-0acdb7c929d5/websocket"} device-1 | {"level":"info","message":"device 'http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5' connected"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2MX0.rkYqVamtXiV_qYOC4boDlprIoR7SHSVaiU36V7Ce_Ns","level":"info","message":"auth send jwt","requestID":"d31a289d7f6746970dc38205fbe265b7"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d31a289d7f6746970dc38205fbe265b7","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d31a289d7f6746970dc38205fbe265b7"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":833,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:41Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":833,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.895215,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"d31a289d7f6746970dc38205fbe265b7","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836361,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2MX0.rkYqVamtXiV_qYOC4boDlprIoR7SHSVaiU36V7Ce_Ns"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"d31a289d7f6746970dc38205fbe265b7","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20452107-2ce1-435b-a136-0acdb7c929d5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20452107-2ce1-435b-a136-0acdb7c929d5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:39.431212864Z"}]},"request_id":"7257e8e3-1bc6-4416-845a-6893d84fa144","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836361.5007594} authorization-1 | {"level":"info","message":"POST /relations/query 200 2ms","method":"POST","requestID":"d31a289d7f6746970dc38205fbe265b7","responseTime":2,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d31a289d7f6746970dc38205fbe265b7"} gateway-1 | {"time_local":"28/Aug/2024:09:12:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/20452107-2ce1-435b-a136-0acdb7c929d5? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.012","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"d31a289d7f6746970dc38205fbe265b7"} device-1 | {"level":"info","message":"GET /devices/20452107-2ce1-435b-a136-0acdb7c929d5? 200 9ms","method":"GET","requestID":"d31a289d7f6746970dc38205fbe265b7","responseTime":9,"status":200,"url":"/devices/20452107-2ce1-435b-a136-0acdb7c929d5?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2MX0.rkYqVamtXiV_qYOC4boDlprIoR7SHSVaiU36V7Ce_Ns","level":"info","message":"auth send jwt","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling POST request on endpoint /experiments","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":834,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:41Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":834,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":607,"resp_duration":0.671745,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:41Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"experiment:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"df3a6bb2f9aaf942dc93dc41f37b4055","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:~~~TYPE~~~","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836361,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2MX0.rkYqVamtXiV_qYOC4boDlprIoR7SHSVaiU36V7Ce_Ns"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd"},"level":"info","message":"Attempting to run experiment","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd"},"level":"info","message":"Attempting to book experiment","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd"},"level":"info","message":"Successfully booked experiment","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"adc28c80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"adc2b390-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":835,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:41Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":835,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.630634,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:41Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":836,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/73d758b0-13a5-4627-852d-863d8fd18391","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"adc28c80-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/73d758b0-13a5-4627-852d-863d8fd18391","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836361,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2MX0.rkYqVamtXiV_qYOC4boDlprIoR7SHSVaiU36V7Ce_Ns"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"adc28c80-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":836,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.050395,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"adc2b390-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836361,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2MX0.rkYqVamtXiV_qYOC4boDlprIoR7SHSVaiU36V7Ce_Ns"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"adc2b390-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73d758b0-13a5-4627-852d-863d8fd18391","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F73d758b0-13a5-4627-852d-863d8fd18391","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:39.380572606Z"}]},"request_id":"898a5c29-0b18-448b-bd95-d368cfe8832c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836361.5521076} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"adc28c80-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20452107-2ce1-435b-a136-0acdb7c929d5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20452107-2ce1-435b-a136-0acdb7c929d5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:39.431212864Z"}]},"request_id":"5536ce8c-b9af-4411-aee9-92f3f4076906","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836361.5531728} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"adc2b390-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"adc28c80-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/73d758b0-13a5-4627-852d-863d8fd18391? 200 14ms","method":"GET","requestID":"adc28c80-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/devices/73d758b0-13a5-4627-852d-863d8fd18391?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"adc2b390-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/20452107-2ce1-435b-a136-0acdb7c929d5? 200 13ms","method":"GET","requestID":"adc2b390-651d-11ef-83ce-bd5a3df00b5c","responseTime":13,"status":200,"url":"/devices/20452107-2ce1-435b-a136-0acdb7c929d5?"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd"},"level":"info","message":"Setting up experiment","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd"},"level":"info","message":"Attempting to lock booking for experiment","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd"},"level":"info","message":"Successfully locked booking for experiment","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd"},"level":"info","message":"Attempting to instantiate devices for experiment","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} device-1 | {"level":"info","message":"postDevicesByDeviceId called","requestID":"adc79590-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":837,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:41Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":837,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.771254,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:41Z"} authorization-1 | {"action":"instantiate","level":"info","message":"opa_check","object":"device:http://localhost/devices/73d758b0-13a5-4627-852d-863d8fd18391","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"adc79590-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/73d758b0-13a5-4627-852d-863d8fd18391","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836361,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2MX0.rkYqVamtXiV_qYOC4boDlprIoR7SHSVaiU36V7Ce_Ns"} authorization-1 | {"level":"info","message":"POST /authorize 200 2ms","method":"POST","requestID":"adc79590-651d-11ef-83ce-bd5a3df00b5c","responseTime":2,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7aab9fb2-4a20-4ec6-a112-9843d92adc2a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"c2ad3a49-fa45-4c00-a9a2-3eabf4b2ccbc","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836361.610597} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"954bb3eb-60c2-4409-a8d2-8eb1c62e8032","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836361.610682} authorization-1 | {"level":"info","message":"POST /relations/update 200 15ms","method":"POST","requestID":"adc79590-651d-11ef-83ce-bd5a3df00b5c","responseTime":15,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"registering changed-callback for device 'http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a' to 'http://localhost/callbacks/experiment'","requestID":"adc79590-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postDevicesByDeviceId succeeded","requestID":"adc79590-651d-11ef-83ce-bd5a3df00b5c"} authentication-1 | {"level":"info","message":"POST /token 201 22ms","method":"POST","requestID":"adcd8900-651d-11ef-8016-a5df43849ff4","responseTime":22,"status":201,"url":"/token"} device-1 | {"level":"info","message":"POST /devices/73d758b0-13a5-4627-852d-863d8fd18391?changedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment 201 66ms","method":"POST","requestID":"adc79590-651d-11ef-83ce-bd5a3df00b5c","responseTime":66,"status":201,"url":"/devices/73d758b0-13a5-4627-852d-863d8fd18391?changedUrl=http%3A%2F%2Flocalhost%2Fcallbacks%2Fexperiment"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd"},"level":"info","message":"Successfully instantiated devices for experiment","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd"},"level":"info","message":"Attempting to update booking for experiment","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd"},"level":"info","message":"Successfully updated booking for experiment","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd"},"level":"info","message":"Successfully set up experiment","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"add81050-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"add83760-651d-11ef-83ce-bd5a3df00b5c"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd"},"level":"info","message":"Successfully running experiment","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"add88580-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":838,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:41Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":838,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.803079,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:41Z"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Received request.","req_id":839,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"add81050-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836361,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2MX0.rkYqVamtXiV_qYOC4boDlprIoR7SHSVaiU36V7Ce_Ns"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"add81050-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:48110","level":"info","msg":"Sent response.","req_id":839,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.72284,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:41Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"add83760-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836361,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2MX0.rkYqVamtXiV_qYOC4boDlprIoR7SHSVaiU36V7Ce_Ns"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"add83760-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":840,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:41Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7aab9fb2-4a20-4ec6-a112-9843d92adc2a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"8063a625-7196-47e8-8ed0-9d99b81b6d9b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836361.693724} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Read","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7aab9fb2-4a20-4ec6-a112-9843d92adc2a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7aab9fb2-4a20-4ec6-a112-9843d92adc2a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:41.610571322Z"}]},"request_id":"05385460-41a6-4fbb-8119-5b94c0de55c1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836361.6948931} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":840,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.736965,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"add88580-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"add88580-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"add81050-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20452107-2ce1-435b-a136-0acdb7c929d5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20452107-2ce1-435b-a136-0acdb7c929d5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:39.431212864Z"}]},"request_id":"42f033f4-e9a6-4315-ad2d-c4d59ac1810f","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836361.6961539} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"add83760-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"data":{"error":"MissingEntityError","message":"Could not find websocket connection for device 7aab9fb2-4a20-4ec6-a112-9843d92adc2a","method":"POST","stack":"MissingEntityError: Could not find websocket connection for device 7aab9fb2-4a20-4ec6-a112-9843d92adc2a\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/7aab9fb2-4a20-4ec6-a112-9843d92adc2a/signaling"},"level":"error","message":"An error occurred during the handling of a request","requestID":"add88580-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a/signaling 404 14ms","method":"POST","requestID":"add88580-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":404,"url":"/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a/signaling"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"add81050-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a? 200 17ms","method":"GET","requestID":"add81050-651d-11ef-83ce-bd5a3df00b5c","responseTime":17,"status":200,"url":"/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"add83760-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/20452107-2ce1-435b-a136-0acdb7c929d5? 200 17ms","method":"GET","requestID":"add83760-651d-11ef-83ce-bd5a3df00b5c","responseTime":17,"status":200,"url":"/devices/20452107-2ce1-435b-a136-0acdb7c929d5?"} experiment-1 | {"data":{"response":{"body":{"error":"MissingEntityError","message":"Could not find websocket connection for device 7aab9fb2-4a20-4ec6-a112-9843d92adc2a"},"status":404}},"level":"error","message":"Could not send status-update message","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"addaf680-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":841,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:41Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20452107-2ce1-435b-a136-0acdb7c929d5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9f2eafb3-fd6d-48de-a240-d954e69d62ca","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836361.7083817} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":841,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.545507,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:41Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"addaf680-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"addaf680-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2000) desc = Invalid tuple 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F96336d04-cf70-42af-824b-006b06c675fd#owner@http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F96336d04-cf70-42af-824b-006b06c675fd","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"3e0a1089-83eb-4a26-a00c-bb050939b4f6","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836361.7092729} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"cdfd174b-4fc1-4044-8875-5ea5dfba3969","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836361.7096744} authorization-1 | {"level":"info","message":"POST /relations/update 200 21ms","method":"POST","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055","responseTime":21,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"addaf680-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/20452107-2ce1-435b-a136-0acdb7c929d5/signaling 200 8ms","method":"POST","requestID":"addaf680-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/20452107-2ce1-435b-a136-0acdb7c929d5/signaling"} experiment-1 | {"data":{"experiment":"http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd","user":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"level":"info","message":"Successfully handled POST request on endpoint /experiments","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} experiment-1 | {"level":"info","message":"POST /experiments? 201 208ms","method":"POST","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055","responseTime":208,"status":201,"url":"/experiments?"} gateway-1 | {"time_local":"28/Aug/2024:09:12:41 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /experiments? HTTP/1.1","status": "201","body_bytes_sent":"1107","request_time":"0.212","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"9f55f98932e61553fc9c2eb1c8d78558","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"9f55f98932e61553fc9c2eb1c8d78558","responseTime":2,"status":200,"url":"/auth"} gateway-1 | {"time_local":"28/Aug/2024:09:12:43 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"OPTIONS /devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a/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":"9f55f98932e61553fc9c2eb1c8d78558"} device-1 | {"level":"info","message":"OPTIONS /devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a/websocket 200 1ms","method":"OPTIONS","requestID":"9f55f98932e61553fc9c2eb1c8d78558","responseTime":1,"status":200,"url":"/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a/websocket"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6InRGeGRZSGRDeWxmX211Nml4bmNwYzZtUUVyYTdrcGdBcEE5TmNzN3pVV1NzeVFDT0k5a0FOTkRkVnEyOGxhd3NjMTJDNnV5eDNMYklIMEhSS1RoMVlnIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2M30.msrpDJUk9r5u4fqvLwJGzahK-SzglX3k7-aH4a6hlfc","level":"info","message":"auth send jwt","requestID":"752548a9867a2383b6bb8b0961ef26d9"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"752548a9867a2383b6bb8b0961ef26d9","responseTime":4,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket called","requestID":"752548a9867a2383b6bb8b0961ef26d9"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":842,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:43Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":842,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.897657,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:43Z"} authorization-1 | {"action":"edit","level":"info","message":"opa_check","object":"device:http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"752548a9867a2383b6bb8b0961ef26d9","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a","object_type":"device","payload":{"admin":true,"edgeToken":"tFxdYHdCylf_mu6ixncpc6mQEra7kpgApA9Ncs7zUWSsyQCOI9kANNDdVq28lawsc12C6uyx3LbIH0HRKTh1Yg","iat":1724836363,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6InRGeGRZSGRDeWxmX211Nml4bmNwYzZtUUVyYTdrcGdBcEE5TmNzN3pVV1NzeVFDT0k5a0FOTkRkVnEyOGxhd3NjMTJDNnV5eDNMYklIMEhSS1RoMVlnIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2M30.msrpDJUk9r5u4fqvLwJGzahK-SzglX3k7-aH4a6hlfc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"752548a9867a2383b6bb8b0961ef26d9","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdWebsocket succeeded","requestID":"752548a9867a2383b6bb8b0961ef26d9"} device-1 | {"level":"info","message":"POST /devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a/websocket 200 883ms","method":"POST","requestID":"752548a9867a2383b6bb8b0961ef26d9","responseTime":883,"status":200,"url":"/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a/websocket"} gateway-1 | {"time_local":"28/Aug/2024:09:12:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a/websocket HTTP/1.1","status": "200","body_bytes_sent":"38","request_time":"0.888","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"752548a9867a2383b6bb8b0961ef26d9"} device-1 | {"level":"info","message":"Sending changed-callback for device 'http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"device 'http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a' connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"01e99b3f9df716206183a3177ef6dea6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"01e99b3f9df716206183a3177ef6dea6","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/7aab9fb2-4a20-4ec6-a112-9843d92adc2a"},"eventType":"device-changed"}},"level":"info","message":"received a callback","requestID":"01e99b3f9df716206183a3177ef6dea6"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2NH0.P8je_bhe9H-QerUmRroPj6aDZeyZ1wUd1atbBVNwtWA","level":"info","message":"auth send jwt","requestID":"343871b6493ecfe0f12c851c04813443"} authentication-1 | {"level":"info","message":"GET /auth 200 5ms","method":"GET","requestID":"343871b6493ecfe0f12c851c04813443","responseTime":5,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"343871b6493ecfe0f12c851c04813443"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":843,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:44Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":843,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.461757,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"343871b6493ecfe0f12c851c04813443","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836364,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2NH0.P8je_bhe9H-QerUmRroPj6aDZeyZ1wUd1atbBVNwtWA"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"343871b6493ecfe0f12c851c04813443","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7aab9fb2-4a20-4ec6-a112-9843d92adc2a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7aab9fb2-4a20-4ec6-a112-9843d92adc2a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:41.610571322Z"}]},"request_id":"4161280c-bbde-4e6c-b3c2-01da80810c1d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836364.6268184} authorization-1 | {"level":"info","message":"POST /relations/query 200 6ms","method":"POST","requestID":"343871b6493ecfe0f12c851c04813443","responseTime":6,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"343871b6493ecfe0f12c851c04813443"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 28ms","method":"POST","requestID":"01e99b3f9df716206183a3177ef6dea6","responseTime":28,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12: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.032","http_referrer":"","http_user_agent":"node-fetch","requestID":"01e99b3f9df716206183a3177ef6dea6"} gateway-1 | {"time_local":"28/Aug/2024:09:12:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a? HTTP/1.1","status": "200","body_bytes_sent":"307","request_time":"0.032","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"343871b6493ecfe0f12c851c04813443"} device-1 | {"level":"info","message":"GET /devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a? 200 23ms","method":"GET","requestID":"343871b6493ecfe0f12c851c04813443","responseTime":23,"status":200,"url":"/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a?"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2NH0.P8je_bhe9H-QerUmRroPj6aDZeyZ1wUd1atbBVNwtWA","level":"info","message":"auth send jwt","requestID":"d759d413ceba7406bb22f1e7b12dd60f"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"d759d413ceba7406bb22f1e7b12dd60f","responseTime":3,"status":200,"url":"/auth"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"d759d413ceba7406bb22f1e7b12dd60f"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":844,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:44Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":844,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.318269,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:44Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"d759d413ceba7406bb22f1e7b12dd60f","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836364,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2NH0.P8je_bhe9H-QerUmRroPj6aDZeyZ1wUd1atbBVNwtWA"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"d759d413ceba7406bb22f1e7b12dd60f","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20452107-2ce1-435b-a136-0acdb7c929d5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20452107-2ce1-435b-a136-0acdb7c929d5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:39.431212864Z"}]},"request_id":"9e01c336-6d04-429c-b6c3-b7a6326f242d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836364.652164} authorization-1 | {"level":"info","message":"POST /relations/query 200 3ms","method":"POST","requestID":"d759d413ceba7406bb22f1e7b12dd60f","responseTime":3,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"d759d413ceba7406bb22f1e7b12dd60f"} gateway-1 | {"time_local":"28/Aug/2024:09:12:44 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/20452107-2ce1-435b-a136-0acdb7c929d5? 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":"d759d413ceba7406bb22f1e7b12dd60f"} device-1 | {"level":"info","message":"GET /devices/20452107-2ce1-435b-a136-0acdb7c929d5? 200 16ms","method":"GET","requestID":"d759d413ceba7406bb22f1e7b12dd60f","responseTime":16,"status":200,"url":"/devices/20452107-2ce1-435b-a136-0acdb7c929d5?"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b0d68340-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"getDevicesByDeviceId called","requestID":"b0d6f870-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Received request.","req_id":845,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"client_addr":"127.0.0.1:50472","level":"info","msg":"Sent response.","req_id":845,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.430276,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b0d68340-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836361,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2MX0.rkYqVamtXiV_qYOC4boDlprIoR7SHSVaiU36V7Ce_Ns"} authorization-1 | {"level":"info","message":"POST /authorize 200 6ms","method":"POST","requestID":"b0d68340-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/authorize"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Received request.","req_id":846,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Sent response.","req_id":846,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":1.517843,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b0d6f870-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836361,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2MX0.rkYqVamtXiV_qYOC4boDlprIoR7SHSVaiU36V7Ce_Ns"} authorization-1 | {"level":"info","message":"POST /authorize 200 8ms","method":"POST","requestID":"b0d6f870-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7aab9fb2-4a20-4ec6-a112-9843d92adc2a","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7aab9fb2-4a20-4ec6-a112-9843d92adc2a","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:41.610571322Z"}]},"request_id":"1a9f5530-e45f-4f62-9f45-48b622346694","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836366.7237284} authorization-1 | {"level":"info","message":"POST /relations/query 200 5ms","method":"POST","requestID":"b0d68340-651d-11ef-83ce-bd5a3df00b5c","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:38946","raw_request":{"continuation_token":"","page_size":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20452107-2ce1-435b-a136-0acdb7c929d5","relation":"","user":""}},"raw_response":{"continuation_token":"","tuples":[{"key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20452107-2ce1-435b-a136-0acdb7c929d5","relation":"owner","user":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"timestamp":"2024-08-28T09:12:39.431212864Z"}]},"request_id":"54ac2640-faee-4226-a5fa-5cf8b2d3bc0b","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836366.725275} authorization-1 | {"level":"info","message":"POST /relations/query 200 4ms","method":"POST","requestID":"b0d6f870-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/relations/query"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b0d68340-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a? 200 26ms","method":"GET","requestID":"b0d68340-651d-11ef-83ce-bd5a3df00b5c","responseTime":26,"status":200,"url":"/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a?"} device-1 | {"level":"info","message":"getDevicesByDeviceId succeeded","requestID":"b0d6f870-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /devices/20452107-2ce1-435b-a136-0acdb7c929d5? 200 24ms","method":"GET","requestID":"b0d6f870-651d-11ef-83ce-bd5a3df00b5c","responseTime":24,"status":200,"url":"/devices/20452107-2ce1-435b-a136-0acdb7c929d5?"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b0db1720-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Received request.","req_id":847,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7aab9fb2-4a20-4ec6-a112-9843d92adc2a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a2e12b97-2fd8-4348-8536-59b047462a7c","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836366.7451472} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Sent response.","req_id":847,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.48593,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b0db1720-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a","object_type":"device","rebac_allow":false,"scope_allow":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":"b0db1720-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b0db1720-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a/signaling 200 14ms","method":"POST","requestID":"b0db1720-651d-11ef-83ce-bd5a3df00b5c","responseTime":14,"status":200,"url":"/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b0dd8820-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Received request.","req_id":848,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20452107-2ce1-435b-a136-0acdb7c929d5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"10e9f9f1-a4b7-455a-9b29-8fe1aae7c1a3","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836366.7610161} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Sent response.","req_id":848,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":4.118792,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b0dd8820-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","object_type":"device","rebac_allow":false,"scope_allow":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":"b0dd8820-651d-11ef-83ce-bd5a3df00b5c","responseTime":7,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b0dd8820-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/20452107-2ce1-435b-a136-0acdb7c929d5/signaling 200 12ms","method":"POST","requestID":"b0dd8820-651d-11ef-83ce-bd5a3df00b5c","responseTime":12,"status":200,"url":"/devices/20452107-2ce1-435b-a136-0acdb7c929d5/signaling"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd"},"level":"info","message":"Attempting to create peerconnections for experiment","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd"},"level":"info","message":"Building connection plan","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} experiment-1 | {"data":{"pairwiseServiceConfigurations":[{"configuration":{},"participants":[{"config":{"interfaces":[]},"role":"device1","serviceId":"electrical","uuid":"7aacf4bb-52a1-4d04-baeb-04e76353f9d9"},{"config":{"interfaces":[]},"role":"device2","serviceId":"electrical","uuid":"6163d706-3678-4927-bd67-1b595356ea5f"}],"serviceType":"http://api.goldi-labs.de/serviceTypes/electrical","uuid":"bdab9615-e0d7-4422-9cf8-dccdc5ac7387"}]},"level":"info","message":"Built pairwise service configurations","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} experiment-1 | {"data":{"connectionPlan":[{"devices":[{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"url":"http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5"}],"type":"webrtc"}]},"level":"info","message":"Built connection plan","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} device-1 | {"level":"info","message":"postPeerconnections called","requestID":"b0dfd210-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Received request.","req_id":849,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Sent response.","req_id":849,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":615,"resp_duration":0.915152,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"action":"create","level":"info","message":"opa_check","object":"peerconnection:~~~TYPE~~~","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b0dfd210-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:~~~TYPE~~~","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836361,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2MX0.rkYqVamtXiV_qYOC4boDlprIoR7SHSVaiU36V7Ce_Ns"} authorization-1 | {"level":"info","message":"POST /authorize 200 4ms","method":"POST","requestID":"b0dfd210-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","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%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8'. Reason: the 'user' field must be an object (e.g. document:1) or an 'object#relation' or a typed wildcard (e.g. group:*)","grpc_code":2000,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2Fundefined","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]}},"raw_response":{},"request_id":"865faecd-9b9c-4005-9a81-8bd621c35d6e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836366.7835} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"5dd430f1-db6e-428e-9ddf-aad1c133e09d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836366.7839978} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"b0dfd210-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"postPeerconnections: registering closed-callback for 'http://localhost/callbacks/experiment'","requestID":"b0dfd210-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections: registering status-changed-callback for 'http://localhost/callbacks/experiment'","requestID":"b0dfd210-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Trying to create signaling queues for peerconnection 'http://localhost/peerconnections/476b620e-a4a6-4c82-a01c-88b07a79545a'","requestID":"b0dfd210-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"Successfully created signaling queues for peerconnection 'http://localhost/peerconnections/476b620e-a4a6-4c82-a01c-88b07a79545a'","requestID":"b0dfd210-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"postPeerconnections succeeded","requestID":"b0dfd210-651d-11ef-83ce-bd5a3df00b5c"} 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":"b0dfd210-651d-11ef-83ce-bd5a3df00b5c","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":"b0dfd210-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"command":"createPeerconnection","connectionType":"webrtc","connectionUrl":"http://localhost/peerconnections/476b620e-a4a6-4c82-a01c-88b07a79545a","device":"7aab9fb2-4a20-4ec6-a112-9843d92adc2a","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/476b620e-a4a6-4c82-a01c-88b07a79545a","device":"20452107-2ce1-435b-a136-0acdb7c929d5","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/96336d04-cf70-42af-824b-006b06c675fd"},"level":"info","message":"Successfully created peerconnections for experiment","requestID":"df3a6bb2f9aaf942dc93dc41f37b4055"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b0e920e0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Received request.","req_id":850,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7aab9fb2-4a20-4ec6-a112-9843d92adc2a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"3981c477-17c3-41ea-ac2e-044f34251591","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836366.8341799} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Sent response.","req_id":850,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.398904,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b0e920e0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b0e920e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b0e920e0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a/signaling 200 8ms","method":"POST","requestID":"b0e920e0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b0eace90-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Received request.","req_id":851,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20452107-2ce1-435b-a136-0acdb7c929d5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"9ad49c44-d1de-4d93-b915-3aac336d76e4","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836366.8450086} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Sent response.","req_id":851,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.534188,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b0eace90-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b0eace90-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"device":"7aab9fb2-4a20-4ec6-a112-9843d92adc2a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"7aab9fb2-4a20-4ec6-a112-9843d92adc2a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b0eace90-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/20452107-2ce1-435b-a136-0acdb7c929d5/signaling 200 11ms","method":"POST","requestID":"b0eace90-651d-11ef-83ce-bd5a3df00b5c","responseTime":11,"status":200,"url":"/devices/20452107-2ce1-435b-a136-0acdb7c929d5/signaling"} device-1 | {"device":"20452107-2ce1-435b-a136-0acdb7c929d5","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"webrtc connect"} device-1 | {"content":{"canTrickle":true},"device":"20452107-2ce1-435b-a136-0acdb7c929d5","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"options"} device-1 | {"content":{"sdp":"v=0\r\no=- 3919462341663990306 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:dNmp\r\na=ice-pwd:vFWuarU3OzO8i8JV0nt1QqEc\r\na=ice-options:trickle\r\na=fingerprint:sha-256 A7:39:C6:9C:F7:A4:62:C0:56:F3:95:0F:67:27:CD:45:27:42:2B:0E:3C:3D:1F:A7:95:A5:46:BC:48:85:79:21\r\na=setup:actpass\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"offer"},"device":"20452107-2ce1-435b-a136-0acdb7c929d5","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"offer"} device-1 | {"content":{"sdp":"v=0\r\no=- 3994867220396932997 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:gNhV\r\na=ice-pwd:tG6WLfHyiVlw6RTgiFbhK7D1\r\na=ice-options:trickle\r\na=fingerprint:sha-256 6C:4E:FC:A8:67:4F:80:20:5A:25:D9:72:4C:51:F9:A3:38:94:BB:6A:94:7C:18:DB:A3:CC:02:F3:E1:88:AE:97\r\na=setup:active\r\na=mid:0\r\na=sctp-port:5000\r\na=max-message-size:262144\r\n","type":"answer"},"device":"7aab9fb2-4a20-4ec6-a112-9843d92adc2a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"answer"} device-1 | {"content":{"candidate":"candidate:404400804 1 udp 2113937151 d54bdc80-a29f-47d1-a87a-843a158534f0.local 34397 typ host generation 0 ufrag gNhV network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"7aab9fb2-4a20-4ec6-a112-9843d92adc2a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:487761404 1 udp 1677729535 141.24.211.56 34397 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag gNhV network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"7aab9fb2-4a20-4ec6-a112-9843d92adc2a","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/7aab9fb2-4a20-4ec6-a112-9843d92adc2a'"} device-1 | {"data":{"error":{}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a'"} device-1 | {"content":{"candidate":"candidate:443824549 1 udp 2113937151 d09fede1-0d77-41e7-bc3a-690a250c977f.local 42268 typ host generation 0 ufrag dNmp network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"20452107-2ce1-435b-a136-0acdb7c929d5","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"sending:","signalingType":"candidate"} device-1 | {"content":{"candidate":"candidate:304902754 1 udp 1677729535 141.24.211.56 42268 typ srflx raddr 0.0.0.0 rport 0 generation 0 ufrag dNmp network-cost 999","sdpMLineIndex":0,"sdpMid":"0"},"device":"20452107-2ce1-435b-a136-0acdb7c929d5","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/20452107-2ce1-435b-a136-0acdb7c929d5'"} device-1 | {"device":"20452107-2ce1-435b-a136-0acdb7c929d5","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"20452107-2ce1-435b-a136-0acdb7c929d5","deviceName":"JS Device 2","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"device":"7aab9fb2-4a20-4ec6-a112-9843d92adc2a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connecting"} device-1 | {"device":"7aab9fb2-4a20-4ec6-a112-9843d92adc2a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"IceGatheringComplete"} device-1 | {"level":"info","message":"Sending status-changed-callback for peerconnection 'http://localhost/peerconnections/476b620e-a4a6-4c82-a01c-88b07a79545a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"476b620e-a4a6-4c82-a01c-88b07a79545a","statusDeviceA":"new","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"device":"7aab9fb2-4a20-4ec6-a112-9843d92adc2a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"WebRTCPeerConnection connectionStateChanged","state":"connected"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"eeda3bb99473682dc65225a7a650b84b","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"eeda3bb99473682dc65225a7a650b84b","responseTime":1,"status":200,"url":"/auth"} device-1 | {"device":"20452107-2ce1-435b-a136-0acdb7c929d5","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":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"new","url":"http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connecting","url":"http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5"}],"status":"connecting","type":"webrtc","url":"http://localhost/peerconnections/476b620e-a4a6-4c82-a01c-88b07a79545a"}}},"level":"info","message":"received a callback","requestID":"eeda3bb99473682dc65225a7a650b84b"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 6ms","method":"POST","requestID":"eeda3bb99473682dc65225a7a650b84b","responseTime":6,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.008","http_referrer":"","http_user_agent":"node-fetch","requestID":"eeda3bb99473682dc65225a7a650b84b"} device-1 | {"device":"7aab9fb2-4a20-4ec6-a112-9843d92adc2a","deviceName":"JS Device 1","isTrusted":true,"labels":{"job":"remote_device"},"level":"info"} device-1 | {"data":{"peerconnection":"476b620e-a4a6-4c82-a01c-88b07a79545a","statusDeviceA":"connecting","statusDeviceB":"connecting"},"level":"info","message":"peerconnection devices status info"} device-1 | {"data":{"peerconnection":"476b620e-a4a6-4c82-a01c-88b07a79545a","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/476b620e-a4a6-4c82-a01c-88b07a79545a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"476b620e-a4a6-4c82-a01c-88b07a79545a","statusDeviceA":"connected","statusDeviceB":"connected"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"d609c218bdf35bc6982e1197c28b2203","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"d609c218bdf35bc6982e1197c28b2203","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/7aab9fb2-4a20-4ec6-a112-9843d92adc2a"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"connected","url":"http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5"}],"status":"connected","type":"webrtc","url":"http://localhost/peerconnections/476b620e-a4a6-4c82-a01c-88b07a79545a"}}},"level":"info","message":"received a callback","requestID":"d609c218bdf35bc6982e1197c28b2203"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId called","requestID":"b0f8d850-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Received request.","req_id":852,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F476b620e-a4a6-4c82-a01c-88b07a79545a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"034dac53-2c48-45bf-aeb3-e01a11cfecde","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836366.9376814} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Sent response.","req_id":852,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":331,"resp_duration":2.322322,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/476b620e-a4a6-4c82-a01c-88b07a79545a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b0f8d850-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"peerconnection:http://localhost/peerconnections/476b620e-a4a6-4c82-a01c-88b07a79545a","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":"b0f8d850-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"getPeerconnectionsByPeerconnectionId succeeded","requestID":"b0f8d850-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"GET /peerconnections/476b620e-a4a6-4c82-a01c-88b07a79545a 200 24ms","method":"GET","requestID":"b0f8d850-651d-11ef-83ce-bd5a3df00b5c","responseTime":24,"status":200,"url":"/peerconnections/476b620e-a4a6-4c82-a01c-88b07a79545a"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 43ms","method":"POST","requestID":"d609c218bdf35bc6982e1197c28b2203","responseTime":43,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "200","body_bytes_sent":"5","request_time":"0.047","http_referrer":"","http_user_agent":"node-fetch","requestID":"d609c218bdf35bc6982e1197c28b2203"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b0fef2d0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Received request.","req_id":853,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7aab9fb2-4a20-4ec6-a112-9843d92adc2a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"e2bc7e9f-0628-4d14-b294-ce7be7e322ba","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836366.9775934} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Sent response.","req_id":853,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.268024,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b0fef2d0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b0fef2d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b0fef2d0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a/signaling 200 8ms","method":"POST","requestID":"b0fef2d0-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":200,"url":"/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a/signaling"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b1007970-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Received request.","req_id":854,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20452107-2ce1-435b-a136-0acdb7c929d5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"160270f9-86e1-4938-bc60-6f3acfa1fc17","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836366.987398} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Sent response.","req_id":854,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.531567,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:46Z"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2Nn0.dERkaPPYnN-NA3j1bhFtYF6dsyDW3BEexM4dGajxvbc","level":"info","message":"auth send jwt","requestID":"1b2da155a15542187308dcd3da22a760"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b1007970-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authentication-1 | {"level":"info","message":"GET /auth 200 4ms","method":"GET","requestID":"1b2da155a15542187308dcd3da22a760","responseTime":4,"status":200,"url":"/auth"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b1007970-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Handling GET request on endpoint /experiments/96336d04-cf70-42af-824b-006b06c675fd","requestID":"1b2da155a15542187308dcd3da22a760"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b1007970-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/20452107-2ce1-435b-a136-0acdb7c929d5/signaling 200 9ms","method":"POST","requestID":"b1007970-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/20452107-2ce1-435b-a136-0acdb7c929d5/signaling"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Received request.","req_id":855,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Sent response.","req_id":855,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.693841,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:46Z"} authorization-1 | {"action":"view","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"1b2da155a15542187308dcd3da22a760","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836366,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2Nn0.dERkaPPYnN-NA3j1bhFtYF6dsyDW3BEexM4dGajxvbc"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"1b2da155a15542187308dcd3da22a760","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"level":"info","message":"Successfully handled GET request on endpoint /experiments/96336d04-cf70-42af-824b-006b06c675fd","requestID":"1b2da155a15542187308dcd3da22a760"} gateway-1 | {"time_local":"28/Aug/2024:09:12:46 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /experiments/96336d04-cf70-42af-824b-006b06c675fd HTTP/1.1","status": "200","body_bytes_sent":"1180","request_time":"0.015","http_referrer":"","http_user_agent":"node-fetch/1.0 (+https://github.com/bitinn/node-fetch)","requestID":"1b2da155a15542187308dcd3da22a760"} experiment-1 | {"level":"info","message":"GET /experiments/96336d04-cf70-42af-824b-006b06c675fd 200 10ms","method":"GET","requestID":"1b2da155a15542187308dcd3da22a760","responseTime":10,"status":200,"url":"/experiments/96336d04-cf70-42af-824b-006b06c675fd"} authentication-1 | {"jwt":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2N30.BjlNjyauLLUhYB5jXeF9nWQnS-mCqUMp-WEWvE1m0yk","level":"info","message":"auth send jwt","requestID":"8026c837203760d614a6ec29e1365625"} authentication-1 | {"level":"info","message":"GET /auth 200 3ms","method":"GET","requestID":"8026c837203760d614a6ec29e1365625","responseTime":3,"status":200,"url":"/auth"} experiment-1 | {"level":"info","message":"Handling DELETE request on endpoint /experiments/96336d04-cf70-42af-824b-006b06c675fd","requestID":"8026c837203760d614a6ec29e1365625"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Received request.","req_id":856,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:47Z"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Sent response.","req_id":856,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":662,"resp_duration":0.669508,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:47Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"experiment:http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"8026c837203760d614a6ec29e1365625","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"experiment:http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd","object_type":"experiment","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836367,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2N30.BjlNjyauLLUhYB5jXeF9nWQnS-mCqUMp-WEWvE1m0yk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"8026c837203760d614a6ec29e1365625","responseTime":3,"status":200,"url":"/authorize"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd"},"level":"info","message":"Attempting to finish experiment","requestID":"8026c837203760d614a6ec29e1365625"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId called","requestID":"b1053460-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Received request.","req_id":857,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:47Z"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Sent response.","req_id":857,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":674,"resp_duration":1.463416,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:47Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"peerconnection:http://localhost/peerconnections/476b620e-a4a6-4c82-a01c-88b07a79545a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b1053460-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"peerconnection:http://localhost/peerconnections/476b620e-a4a6-4c82-a01c-88b07a79545a","object_type":"peerconnection","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836367,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2N30.BjlNjyauLLUhYB5jXeF9nWQnS-mCqUMp-WEWvE1m0yk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b1053460-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/476b620e-a4a6-4c82-a01c-88b07a79545a","device":"7aab9fb2-4a20-4ec6-a112-9843d92adc2a","deviceName":"JS Device 1","labels":{"job":"remote_device"},"level":"info","message":"closing connection","messageType":"command"} device-1 | {"command":"closePeerconnection","connectionUrl":"http://localhost/peerconnections/476b620e-a4a6-4c82-a01c-88b07a79545a","device":"20452107-2ce1-435b-a136-0acdb7c929d5","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/476b620e-a4a6-4c82-a01c-88b07a79545a' to 'http://localhost/callbacks/experiment'"} device-1 | {"level":"info","message":"Sending closed-callback for peerconnection 'http://localhost/peerconnections/476b620e-a4a6-4c82-a01c-88b07a79545a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"peerconnection":"476b620e-a4a6-4c82-a01c-88b07a79545a","statusDeviceA":"connected","statusDeviceB":"closed"},"level":"info","message":"peerconnection devices status info"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"c742df2de585bfcc8fafe47263870ff1","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/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":"c742df2de585bfcc8fafe47263870ff1","responseTime":2,"status":200,"url":"/auth"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"cb17adbb864c73b96b560417bf7549b6","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.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/7aab9fb2-4a20-4ec6-a112-9843d92adc2a"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/476b620e-a4a6-4c82-a01c-88b07a79545a"}}},"level":"info","message":"received a callback","requestID":"c742df2de585bfcc8fafe47263870ff1"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F476b620e-a4a6-4c82-a01c-88b07a79545a': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"peerconnection:http%3A%2F%2Flocalhost%2Fpeerconnections%2F476b620e-a4a6-4c82-a01c-88b07a79545a","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"ec09b29c-1c8d-448c-8a92-a2f80056e776","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836367.0277307} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"cb17adbb864c73b96b560417bf7549b6","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/7aab9fb2-4a20-4ec6-a112-9843d92adc2a"},{"config":{"services":[{"interfaces":[],"remoteServiceId":"electrical","serviceId":"electrical","serviceType":"http://api.goldi-labs.de/serviceTypes/electrical"}]},"status":"closed","url":"http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5"}],"status":"closed","type":"webrtc","url":"http://localhost/peerconnections/476b620e-a4a6-4c82-a01c-88b07a79545a"}}},"level":"info","message":"received a callback","requestID":"cb17adbb864c73b96b560417bf7549b6"} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"c35b8b70-9d7c-4f8d-beda-dc7c6716506e","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836367.028105} authorization-1 | {"level":"info","message":"POST /relations/update 200 6ms","method":"POST","requestID":"b1053460-651d-11ef-83ce-bd5a3df00b5c","responseTime":6,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"deletePeerconnectionsByPeerconnectionId succeeded","requestID":"b1053460-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /peerconnections/476b620e-a4a6-4c82-a01c-88b07a79545a 204 44ms","method":"DELETE","requestID":"b1053460-651d-11ef-83ce-bd5a3df00b5c","responseTime":44,"status":204,"url":"/peerconnections/476b620e-a4a6-4c82-a01c-88b07a79545a"} device-1 | {"data":{"error":{"name":"MissingEntityError","status":404}},"level":"error","message":"An error occurred while handling an incoming message for device 'http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a'"} device-1 | {"level":"info","message":"deleteDevicesByDeviceId called","requestID":"b10c3940-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Received request.","req_id":858,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:47Z"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Sent response.","req_id":858,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":650,"resp_duration":0.683214,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:47Z"} authorization-1 | {"action":"delete","level":"info","message":"opa_check","object":"device:http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b10c3940-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","object":"device:http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a","object_type":"device","payload":{"admin":true,"edgeToken":"iPJgplDlTJ2wXg8LydjNTW0NZ-vE0gCkkUfZo2oSiLnkKpZtycmLxnumH360BmfFEmcUZpG7L2mcWY59fToZtA","iat":1724836367,"sub":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"},"rebac_allow":true,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8","subject_alt":"http://localhost/users/1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}},"subject":"eyJhbGciOiJIUzI1NiJ9.eyJzdWIiOiJodHRwOi8vbG9jYWxob3N0L3VzZXJzLzFmMGMxZTlhLTBlM2EtNDg0Mi05NGM0LTQxYmNjM2NiZWJiOCIsImVkZ2VUb2tlbiI6ImlQSmdwbERsVEoyd1hnOEx5ZGpOVFcwTlotdkUwZ0Nra1VmWm8yb1NpTG5rS3BadHljbUx4bnVtSDM2MEJtZkZFbWNVWnBHN0wybWNXWTU5ZlRvWnRBIiwiYWRtaW4iOnRydWUsImlhdCI6MTcyNDgzNjM2N30.BjlNjyauLLUhYB5jXeF9nWQnS-mCqUMp-WEWvE1m0yk"} authorization-1 | {"level":"info","message":"POST /authorize 200 3ms","method":"POST","requestID":"b10c3940-651d-11ef-83ce-bd5a3df00b5c","responseTime":3,"status":200,"url":"/authorize"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'device:http%3A%2F%2Flocalhost%2Fdevices%2F7aab9fb2-4a20-4ec6-a112-9843d92adc2a': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7aab9fb2-4a20-4ec6-a112-9843d92adc2a","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"b3c218da-b780-4e39-b9d2-0d78ec027f7d","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836367.0703487} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"53cca7a3-0853-4a3a-8198-fcd596c02691","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836367.0706668} authorization-1 | {"level":"info","message":"POST /relations/update 200 5ms","method":"POST","requestID":"b10c3940-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/relations/update"} device-1 | {"level":"info","message":"deleteDevicesByDeviceId succeeded","requestID":"b10c3940-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"DELETE /devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a 204 22ms","method":"DELETE","requestID":"b10c3940-651d-11ef-83ce-bd5a3df00b5c","responseTime":22,"status":204,"url":"/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a"} experiment-1 | {"data":{"experimentUrl":"http://localhost/experiments/96336d04-cf70-42af-824b-006b06c675fd"},"level":"info","message":"Successfully finished experiment","requestID":"8026c837203760d614a6ec29e1365625"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b1156100-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Received request.","req_id":859,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:47Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F7aab9fb2-4a20-4ec6-a112-9843d92adc2a","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"a8985cc4-1753-4a13-bdf4-a02d3ea9c3e1","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836367.1243072} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Sent response.","req_id":859,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.319304,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b1156100-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a","object_type":"device","rebac_allow":false,"scope_allow":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":"b1156100-651d-11ef-83ce-bd5a3df00b5c","responseTime":4,"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/7aab9fb2-4a20-4ec6-a112-9843d92adc2a/signaling"},"level":"error","message":"An error occurred during the handling of a request","requestID":"b1156100-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a/signaling 404 8ms","method":"POST","requestID":"b1156100-651d-11ef-83ce-bd5a3df00b5c","responseTime":8,"status":404,"url":"/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a/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":"8026c837203760d614a6ec29e1365625"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling called","requestID":"b116e7a0-651d-11ef-83ce-bd5a3df00b5c"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","error":"rpc error: code = Code(2017) desc = cannot delete a tuple which does not exist: user: 'http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8', relation: 'owner', object: 'experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F96336d04-cf70-42af-824b-006b06c675fd': invalid write input","grpc_code":2017,"grpc_method":"Write","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","deletes":{"tuple_keys":[{"object":"experiment:http%3A%2F%2Flocalhost%2Fexperiments%2F96336d04-cf70-42af-824b-006b06c675fd","relation":"owner","user":"http%3A%2F%2Flocalhost%2Fusers%2F1f0c1e9a-0e3a-4842-94c4-41bcc3cbebb8"}]},"store_id":"01J6C408Q16623PTQ4X3WG6QT5","writes":null},"raw_response":{},"request_id":"fef6e4e7-8a90-4290-a729-deccf2b97688","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836367.130943} authorization-1 | {"build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"ReadAuthorizationModel","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","store_id":"01J6C408Q16623PTQ4X3WG6QT5"},"raw_response":{"authorization_model":{"id":"01J6C408SBP9MB0SN6V5RK5N5D","schema_version":"1.1","type_definitions":[{"metadata":{"relations":{"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"viewer":{"this":{}}},"type":"user"},{"metadata":{"relations":{"active_booking":{"directly_related_user_types":[{"type":"booking"}]},"booker":{"directly_related_user_types":[]},"owner":{"directly_related_user_types":[{"type":"user"}]},"parent":{"directly_related_user_types":[{"type":"device"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"active_booking":{"this":{}},"booker":{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"active_booking"}}},"owner":{"this":{}},"parent":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"viewer"},"tupleset":{"object":"","relation":"parent"}}}]}}},"type":"device"},{"metadata":{"relations":{"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"member":{"this":{}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"experiment"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"peerconnection"},{"metadata":{"relations":{"experiment":{"directly_related_user_types":[{"type":"experiment"}]},"member":{"directly_related_user_types":[{"type":"user"}]},"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"experiment":{"this":{}},"member":{"union":{"child":[{"this":{}},{"tupleToUserset":{"computedUserset":{"object":"","relation":"member"},"tupleset":{"object":"","relation":"experiment"}}}]}},"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"booking"},{"metadata":{"relations":{"owner":{"directly_related_user_types":[{"type":"user"}]},"viewer":{"directly_related_user_types":[{"type":"user"}]}}},"relations":{"owner":{"this":{}},"viewer":{"union":{"child":[{"this":{}},{"computedUserset":{"object":"","relation":"owner"}}]}}},"type":"federation"}]}},"request_id":"73e60c14-7051-46f5-a59b-c88d68280f34","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836367.1312041} authorization-1 | {"level":"info","message":"POST /relations/update 200 13ms","method":"POST","requestID":"8026c837203760d614a6ec29e1365625","responseTime":13,"status":200,"url":"/relations/update"} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Received request.","req_id":860,"req_method":"POST","req_path":"/v1/data/crosslab","subsystem":"opa","time":"2024-08-28T09:12:47Z"} authorization-1 | {"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","build.commit":"bc6a45ade4ae02d389b2588ae3bb4676fdcf77ec","build.version":"v1.2.0","grpc_code":0,"grpc_method":"Check","grpc_service":"openfga.v1.OpenFGAService","grpc_type":"unary","level":"info","message":"grpc_req_complete","peer.address":"127.0.0.1:38946","raw_request":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","contextual_tuples":null,"store_id":"01J6C408Q16623PTQ4X3WG6QT5","trace":false,"tuple_key":{"object":"device:http%3A%2F%2Flocalhost%2Fdevices%2F20452107-2ce1-435b-a136-0acdb7c929d5","relation":"viewer","user":"user:experiment-service"}},"raw_response":{"allowed":false,"resolution":""},"request_id":"eea438bc-d383-4ead-807c-82f09b8ceaa9","store_id":"01J6C408Q16623PTQ4X3WG6QT5","subsystem":"openfga","timestamp":1724836367.1354516} authorization-1 | {"client_addr":"127.0.0.1:44616","level":"info","msg":"Sent response.","req_id":860,"req_method":"POST","req_path":"/v1/data/crosslab","resp_bytes":307,"resp_duration":2.297438,"resp_status":200,"subsystem":"opa","time":"2024-08-28T09:12:47Z"} authorization-1 | {"action":"message","level":"info","message":"opa_check","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","openfga":{"authorization_model_id":"01J6C408SBP9MB0SN6V5RK5N5D","store":"01J6C408Q16623PTQ4X3WG6QT5"},"requestID":"b116e7a0-651d-11ef-83ce-bd5a3df00b5c","response":{"result":{"allow":true,"enc":"user:experiment-service","object":"device:http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5","object_type":"device","rebac_allow":false,"scope_allow":true,"scopes":["read","write","connect"],"subject":"user:experiment-service","subject_alt":"experiment-service"}},"subject":"experiment-service"} authorization-1 | {"level":"info","message":"POST /authorize 200 5ms","method":"POST","requestID":"b116e7a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":5,"status":200,"url":"/authorize"} device-1 | {"level":"info","message":"postDevicesByDeviceIdSignaling succeeded","requestID":"b116e7a0-651d-11ef-83ce-bd5a3df00b5c"} device-1 | {"level":"info","message":"POST /devices/20452107-2ce1-435b-a136-0acdb7c929d5/signaling 200 9ms","method":"POST","requestID":"b116e7a0-651d-11ef-83ce-bd5a3df00b5c","responseTime":9,"status":200,"url":"/devices/20452107-2ce1-435b-a136-0acdb7c929d5/signaling"} experiment-1 | {"level":"info","message":"Successfully handled DELETE request on endpoint /experiments/96336d04-cf70-42af-824b-006b06c675fd","requestID":"8026c837203760d614a6ec29e1365625"} gateway-1 | {"time_local":"28/Aug/2024:09:12:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"DELETE /experiments/96336d04-cf70-42af-824b-006b06c675fd 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":"8026c837203760d614a6ec29e1365625"} experiment-1 | {"level":"info","message":"DELETE /experiments/96336d04-cf70-42af-824b-006b06c675fd 204 205ms","method":"DELETE","requestID":"8026c837203760d614a6ec29e1365625","responseTime":205,"status":204,"url":"/experiments/96336d04-cf70-42af-824b-006b06c675fd"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 181ms","method":"POST","requestID":"c742df2de585bfcc8fafe47263870ff1","responseTime":181,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12: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.184","http_referrer":"","http_user_agent":"node-fetch","requestID":"c742df2de585bfcc8fafe47263870ff1"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 200 179ms","method":"POST","requestID":"cb17adbb864c73b96b560417bf7549b6","responseTime":179,"status":200,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12: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.184","http_referrer":"","http_user_agent":"node-fetch","requestID":"cb17adbb864c73b96b560417bf7549b6"} gateway-1 | {"time_local":"28/Aug/2024:09:12:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2645","request_time":"5.739","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"58e79aeac77e7bbfa575570d1da08e88"} gateway-1 | {"time_local":"28/Aug/2024:09:12:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"GET /devices/websocket HTTP/1.1","status": "101","body_bytes_sent":"2404","request_time":"2.639","http_referrer":"","http_user_agent":"Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) HeadlessChrome/109.0.5414.0 Safari/537.36","requestID":"f9c89417ec9eb15135eed2bc7e0ec0a4"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/20452107-2ce1-435b-a136-0acdb7c929d5' closed"} device-1 | {"level":"info","message":"Sending changed-callback for device 'http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a' to 'http://localhost/callbacks/experiment'"} device-1 | {"data":{"code":1001,"reason":{"data":[],"type":"Buffer"}},"level":"info","message":"websocket connection for device 'http://localhost/devices/7aab9fb2-4a20-4ec6-a112-9843d92adc2a' closed"} authentication-1 | {"level":"info","message":"auth error No token found","requestID":"ca4c6391077ab18fafa71c1670645103","stack":"Error: No token found\n at Object.getAuth (file:///usr/local/lib/node_modules/@crosslab/service-auth/app/operations/auth.js:14:19)\n at file:///usr/local/lib/node_modules/@crosslab/service-auth/app/generated/routes.js:22:45\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:149:13)\n at Route.dispatch (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/route.js:119:3)\n at Layer.handle [as handle_request] (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/layer.js:95:5)\n at /usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:284:15\n at Function.process_params (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:346:12)\n at next (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:280:10)\n at Function.handle (/usr/local/lib/node_modules/@crosslab/service-auth/node_modules/express/lib/router/index.js:175:3)"} authentication-1 | {"level":"info","message":"GET /auth 200 1ms","method":"GET","requestID":"ca4c6391077ab18fafa71c1670645103","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/7aab9fb2-4a20-4ec6-a112-9843d92adc2a"},"eventType":"device-changed"}},"level":"info","message":"received a callback","requestID":"ca4c6391077ab18fafa71c1670645103"} experiment-1 | {"level":"info","message":"POST /callbacks/experiment 410 2ms","method":"POST","requestID":"ca4c6391077ab18fafa71c1670645103","responseTime":2,"status":410,"url":"/callbacks/experiment"} gateway-1 | {"time_local":"28/Aug/2024:09:12:47 +0000","remote_addr":"127.0.0.1","remote_user":"","request":"POST /callbacks/experiment HTTP/1.1","status": "410","body_bytes_sent":"5","request_time":"0.004","http_referrer":"","http_user_agent":"node-fetch","requestID":"ca4c6391077ab18fafa71c1670645103"} experiment-1 exited with code 0 authentication-1 exited with code 0 device-1 exited with code 0 federation-1 exited with code 0 authorization-1 exited with code 0 gateway-1 exited with code 0